Background picture used bad scissor/viewport code, causing bad drawing
on tool region.
This commit is contained in:
Ton Roosendaal 2009-09-01 17:10:56 +00:00
parent 6d5f824518
commit 83e9144ff0

@ -1421,7 +1421,8 @@ static void draw_bgpic(Scene *scene, ARegion *ar, View3D *v3d)
glMatrixMode(GL_MODELVIEW); glMatrixMode(GL_MODELVIEW);
glPushMatrix(); glPushMatrix();
glaDefine2DArea(&ar->winrct); // glaDefine2DArea(&ar->winrct);
ED_region_pixelspace(ar);
glEnable(GL_BLEND); glEnable(GL_BLEND);