[Bf-blender-cvs] [cf1227d] master: Fix edit-lattice leaving incorrect point-size

Campbell Barton noreply at git.blender.org
Fri Mar 6 17:53:32 CET 2015


Commit: cf1227d4ad7a9314a489a7168fbab35f8c5985fe
Author: Campbell Barton
Date:   Sat Mar 7 03:53:08 2015 +1100
Branches: master
https://developer.blender.org/rBcf1227d4ad7a9314a489a7168fbab35f8c5985fe

Fix edit-lattice leaving incorrect point-size

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

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 805098c..5f6a368 100644
--- a/source/blender/editors/space_view3d/drawobject.c
+++ b/source/blender/editors/space_view3d/drawobject.c
@@ -1951,8 +1951,8 @@ static void lattice_draw_verts(Lattice *lt, DispList *dl, BPoint *actbp, short s
 		}
 	}
 	
-	glPointSize(1.0);
 	bglEnd();
+	glPointSize(1.0);
 }
 
 static void drawlattice__point(Lattice *lt, DispList *dl, int u, int v, int w, int actdef_wcol)




More information about the Bf-blender-cvs mailing list