[Bf-blender-cvs] [ae2036e] master: Add missing gl line width for curve normals

Campbell Barton noreply at git.blender.org
Tue Feb 9 11:02:46 CET 2016


Commit: ae2036e69b88abb5c65179a70e97be17655bc7d4
Author: Campbell Barton
Date:   Tue Feb 9 20:53:33 2016 +1100
Branches: master
https://developer.blender.org/rBae2036e69b88abb5c65179a70e97be17655bc7d4

Add missing gl line width for curve normals

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

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 10c0a7e..0094fc7 100644
--- a/source/blender/editors/space_view3d/drawobject.c
+++ b/source/blender/editors/space_view3d/drawobject.c
@@ -6354,6 +6354,7 @@ static void draw_editnurb(
 	 * when at its lowest, don't render normals */
 	if ((cu->flag & CU_3D) && (ts->normalsize > 0.0015f) && (cu->drawflag & CU_HIDE_NORMALS) == 0) {
 		BevList *bl;
+		glLineWidth(1.0f);
 		for (bl = ob->curve_cache->bev.first, nu = nurb; nu && bl; bl = bl->next, nu = nu->next) {
 			BevPoint *bevp = bl->bevpoints;
 			int nr = bl->nr;




More information about the Bf-blender-cvs mailing list