[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14328] trunk/blender/source/blender/src/ drawobject.c: wire was being drawn for solid curve objects in editmode when it should not have been .

Campbell Barton ideasman42 at gmail.com
Fri Apr 4 17:57:38 CEST 2008


Revision: 14328
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14328
Author:   campbellbarton
Date:     2008-04-04 17:57:13 +0200 (Fri, 04 Apr 2008)

Log Message:
-----------
wire was being drawn for solid curve objects in editmode when it should not have been.

Modified Paths:
--------------
    trunk/blender/source/blender/src/drawobject.c

Modified: trunk/blender/source/blender/src/drawobject.c
===================================================================
--- trunk/blender/source/blender/src/drawobject.c	2008-04-04 15:22:19 UTC (rev 14327)
+++ trunk/blender/source/blender/src/drawobject.c	2008-04-04 15:57:13 UTC (rev 14328)
@@ -2797,7 +2797,7 @@
 					glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, 0);
 					drawDispListsolid(lb, ob);
 				}
-				if(ob==G.obedit && cu->bevobj==NULL && cu->taperobj==NULL) {
+				if(ob==G.obedit && cu->bevobj==NULL && cu->taperobj==NULL && cu->ext1 == 0.0 && cu->ext2 == 0.0) {
 					cpack(0);
 					draw_index_wire= 0;
 					drawDispListwire(lb);





More information about the Bf-blender-cvs mailing list