Undo never worked correctly for "Extrude" in BF-Blender. It just undid the
authorAlexander Ewering <blender@instinctive.de>
Tue, 20 Jul 2004 21:48:42 +0000 (21:48 +0000)
committerAlexander Ewering <blender@instinctive.de>
Tue, 20 Jul 2004 21:48:42 +0000 (21:48 +0000)
transform, not the extrusion itself. How did nobody notice? :)

source/blender/src/editmesh.c

index f745bb44740cb62b4dc91b25aa3f3933c7fef1d4..14e458fe492444697094f1b7514ca0c950e1309a 100644 (file)
@@ -5001,6 +5001,7 @@ void extrude_mesh(void)
                countall();  /* for G.totvert in calc_meshverts() */
                calc_meshverts();
                transform('d');
+               G.undo_edit_level--;    /* to hide the transform from undo */
        }
 
 }