Commit: 16597b691ac911ec54da3c0aeff36278a8107b22 Author: Campbell Barton Date: Wed Apr 6 14:27:37 2016 +1000 Branches: master https://developer.blender.org/rB16597b691ac911ec54da3c0aeff36278a8107b22
Fix camera view-border line width =================================================================== M source/blender/editors/space_view3d/view3d_draw.c =================================================================== diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index 8c2d787..7f1a7a0 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -1110,6 +1110,8 @@ static void drawviewborder(Scene *scene, ARegion *ar, View3D *v3d) x2 = viewborder.xmax; y2 = viewborder.ymax; + glLineWidth(1.0f); + /* apply offsets so the real 3D camera shows through */ /* note: quite un-scientific but without this bit extra @@ -1135,7 +1137,6 @@ 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); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs