forked from bartvdbraak/blender
Fix camera border controlled by gpencil thickness
This only happened when looking through camera which is only selected object. Reported @quollism, thanks :)
This commit is contained in:
parent
389a6a4c92
commit
3ab50cf3aa
@ -1135,6 +1135,8 @@ static void drawviewborder(Scene *scene, ARegion *ar, View3D *v3d)
|
||||
glEnable(GL_BLEND);
|
||||
glColor4f(0, 0, 0, ca->passepartalpha);
|
||||
}
|
||||
glLineWidth(1.0f);
|
||||
|
||||
if (x1i > 0.0f)
|
||||
glRectf(0.0, winy, x1i, 0.0);
|
||||
if (x2i < winx)
|
||||
|
Loading…
Reference in New Issue
Block a user