Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/src/editobject.c')
-rw-r--r--source/blender/src/editobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/editobject.c b/source/blender/src/editobject.c
index b4e03352279..8a84e718176 100644
--- a/source/blender/src/editobject.c
+++ b/source/blender/src/editobject.c
@@ -6634,7 +6634,8 @@ void transform(int mode)
tottrans= 0;
/* undo after transform, since it's storing current situations */
- if(canceled==0)
+ /* extrude has no own undo-push, so on cancel we still insert it */
+ if(canceled==0 || strcmp(undostr, "Extrude")==0)
BIF_undo_push(undostr);
}