[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36007] trunk/blender/source/blender/ editors/mesh/editmesh_lib.c: Fix for the fix, making hurried last minute changes is not a good idea :)

Brecht Van Lommel brechtvanlommel at pandora.be
Mon Apr 4 19:28:31 CEST 2011


Revision: 36007
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36007
Author:   blendix
Date:     2011-04-04 17:28:31 +0000 (Mon, 04 Apr 2011)
Log Message:
-----------
Fix for the fix, making hurried last minute changes is not a good idea :)

Modified Paths:
--------------
    trunk/blender/source/blender/editors/mesh/editmesh_lib.c

Modified: trunk/blender/source/blender/editors/mesh/editmesh_lib.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_lib.c	2011-04-04 17:10:48 UTC (rev 36006)
+++ trunk/blender/source/blender/editors/mesh/editmesh_lib.c	2011-04-04 17:28:31 UTC (rev 36007)
@@ -2006,8 +2006,8 @@
 		zero_v3(eve->no);
 
 	for(efa= em->faces.first; efa; efa=efa->next) {
-		// float *n4= (efa->v4)? efa->v4->no: NULL;
-		// float *c4= (efa->v4)? efa->v4->co: NULL;
+		float *n4= (efa->v4)? efa->v4->no: NULL;
+		float *c4= (efa->v4)? efa->v4->co: NULL;
 
 		if(efa->v4) {
 			normal_quad_v3(efa->n, efa->v1->co, efa->v2->co, efa->v3->co, efa->v4->co);




More information about the Bf-blender-cvs mailing list