Reverting r41409 (broken fix for #29089)
authorAndrew Wiggin <ender79bl@gmail.com>
Tue, 1 Nov 2011 17:06:10 +0000 (17:06 +0000)
committerAndrew Wiggin <ender79bl@gmail.com>
Tue, 1 Nov 2011 17:06:10 +0000 (17:06 +0000)
r41409 can cause a crash if you delete a face of a mesh that has subsurf & solidify modifiers active

source/blender/modifiers/intern/MOD_solidify.c

index b8e95ad..8d47ad2 100644 (file)
@@ -626,7 +626,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob,
                        add_v3_v3(edge_vert_nos[ed->v1], nor);
                        add_v3_v3(edge_vert_nos[ed->v2], nor);
 #endif
-                       origindex[numFaces * 2 + i]= fidx;
+                       origindex[numFaces * 2 + i]= ORIGINDEX_NONE;
                }
                
 #ifdef SOLIDIFY_SIDE_NORMALS