[Bf-blender-cvs] [e902ba2] master: Fix curves drawn with wrong line width

Julian Eisel noreply at git.blender.org
Tue Feb 9 23:51:36 CET 2016


Commit: e902ba270e68f9dd5aa07fb469a9ea396556e941
Author: Julian Eisel
Date:   Tue Feb 9 23:48:04 2016 +0100
Branches: master
https://developer.blender.org/rBe902ba270e68f9dd5aa07fb469a9ea396556e941

Fix curves drawn with wrong line width

Selected/Active curves were drawn with too high line width in Object mode.

===================================================================

M	source/blender/editors/space_view3d/drawobject.c

===================================================================

diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c
index 0094fc7..38af8b7 100644
--- a/source/blender/editors/space_view3d/drawobject.c
+++ b/source/blender/editors/space_view3d/drawobject.c
@@ -7634,6 +7634,7 @@ void draw_object(Scene *scene, ARegion *ar, View3D *v3d, Base *base, const short
 					}
 				}
 				else if (ED_view3d_boundbox_clip(rv3d, ob->bb)) {
+					glLineWidth(1.0f);
 					empty_object = drawDispList(scene, v3d, rv3d, base, dt, dflag, ob_wire_col);
 				}
 				break;




More information about the Bf-blender-cvs mailing list