Switching to oops from outliner didn't call a view2d checking, needed because
oops uses different matrix methods than outliner.
This commit is contained in:
Ton Roosendaal 2004-11-18 14:32:06 +00:00
parent e696cdfd70
commit b0db81b0df

@ -128,6 +128,7 @@ static void do_oops_viewmenu(void *arg, int event)
if(soops->type==SO_OOPS) soops->type= SO_OUTLINER;
else soops->type= SO_OOPS;
init_v2d_oops(curarea, soops);
test_view2d(G.v2d, curarea->winx, curarea->winy);
scrarea_queue_winredraw(curarea);
}
break;