forked from bartvdbraak/blender
2.5
Background picture used bad scissor/viewport code, causing bad drawing on tool region.
This commit is contained in:
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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user