[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36452] branches/bmesh/blender/source/ blender/editors/mesh/loopcut.c: =bmesh= fixed unintiialized memory bug, thanks to Francisco De La Cruz

Joseph Eagar joeedh at gmail.com
Tue May 3 05:05:17 CEST 2011


Revision: 36452
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36452
Author:   joeedh
Date:     2011-05-03 03:05:15 +0000 (Tue, 03 May 2011)
Log Message:
-----------
=bmesh= fixed unintiialized memory bug, thanks to Francisco De La Cruz

Modified Paths:
--------------
    branches/bmesh/blender/source/blender/editors/mesh/loopcut.c

Modified: branches/bmesh/blender/source/blender/editors/mesh/loopcut.c
===================================================================
--- branches/bmesh/blender/source/blender/editors/mesh/loopcut.c	2011-05-03 01:52:25 UTC (rev 36451)
+++ branches/bmesh/blender/source/blender/editors/mesh/loopcut.c	2011-05-03 03:05:15 UTC (rev 36452)
@@ -192,6 +192,8 @@
 	float co[2][3];
 	int i, tot=0;
 	
+	memset(v, 0, sizeof(v));
+	
 	if (!startedge)
 		return;
 




More information about the Bf-blender-cvs mailing list