[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43169] trunk/blender/source/blender/ blenkernel/intern/mesh.c: no need to recalculate normals after setting smooth flags, for a short time the flag was used for vertex normals but not anymore.

Campbell Barton ideasman42 at gmail.com
Thu Jan 5 16:46:04 CET 2012


Revision: 43169
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43169
Author:   campbellbarton
Date:     2012-01-05 15:45:57 +0000 (Thu, 05 Jan 2012)
Log Message:
-----------
no need to recalculate normals after setting smooth flags, for a short time the flag was used for vertex normals but not anymore.

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/mesh.c

Modified: trunk/blender/source/blender/blenkernel/intern/mesh.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/mesh.c	2012-01-05 13:21:01 UTC (rev 43168)
+++ trunk/blender/source/blender/blenkernel/intern/mesh.c	2012-01-05 15:45:57 UTC (rev 43169)
@@ -1248,8 +1248,6 @@
 			mf->flag &= ~ME_SMOOTH;
 		}
 	}
-
-	mesh_calc_normals(me->mvert, me->totvert, me->mface, me->totface, NULL);
 }
 
 void mesh_calc_normals(MVert *mverts, int numVerts, MFace *mfaces, int numFaces, float (*faceNors_r)[3]) 



More information about the Bf-blender-cvs mailing list