[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [19351] branches/bmesh/blender/source/ blender/editors/mesh/editmesh_lib.c: -> Fixed crasher in extrude code

Geoffrey Bantle hairbat at yahoo.com
Sun Mar 22 02:58:43 CET 2009


Revision: 19351
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=19351
Author:   briggs
Date:     2009-03-22 02:58:43 +0100 (Sun, 22 Mar 2009)

Log Message:
-----------
-> Fixed crasher in extrude code

New extrude code was accessing an uninitialized
variable. Why this sort of thing doesn't cause
crashes on windows, I dont have a clue!

Note for Joe: I see a lot of 'logic' going on in
the client code for extrude that should possibly
put inside the BMOP system itself (aside from the
part about modifiers). This should be cleaned up
in future maybe...

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

Modified: branches/bmesh/blender/source/blender/editors/mesh/editmesh_lib.c
===================================================================
--- branches/bmesh/blender/source/blender/editors/mesh/editmesh_lib.c	2009-03-22 00:30:18 UTC (rev 19350)
+++ branches/bmesh/blender/source/blender/editors/mesh/editmesh_lib.c	2009-03-22 01:58:43 UTC (rev 19351)
@@ -1178,6 +1178,7 @@
 	/* If a mirror modifier with clipping is on, we need to adjust some 
 	 * of the cases above to handle edges on the line of symmetry.
 	 */
+	md = obedit->modifiers.first;
 	for (; md; md=md->next) {
 		if (md->type==eModifierType_Mirror) {
 			MirrorModifierData *mmd = (MirrorModifierData*) md;	





More information about the Bf-blender-cvs mailing list