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:
authorTon Roosendaal <ton@blender.org>2009-02-17 18:53:52 +0300
committerTon Roosendaal <ton@blender.org>2009-02-17 18:53:52 +0300
commit9322bddf2c8997adafe3474e50bbb2eab7ab2076 (patch)
treedcb59d85488efc58d745c9b124bf44a8264526b1 /source/blender/editors/transform
parent9185f7931aba220c0b8ac82878e869225f2549dd (diff)
2.5
Fix for the 'repeat last operator' option. It didn't work yet well outside editmode. Now undo/redo has to fully keep the UI alive, even when called from within a running popup. Another fix: when regions collapse/hide they were not effectively disabled, still accepting events. (like Nkey in 3d window).
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r--source/blender/editors/transform/transform.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index 8c7bb0463c2..e6b8662ce4c 100644
--- a/source/blender/editors/transform/transform.c
+++ b/source/blender/editors/transform/transform.c
@@ -1175,11 +1175,11 @@ int transformEnd(bContext *C, TransInfo *t)
/* Undo as last, certainly after special_trans_update! */
if(t->state == TRANS_CANCEL) {
- if(t->undostr) ED_undo_push(C, t->undostr);
+// if(t->undostr) ED_undo_push(C, t->undostr);
}
else {
- if(t->undostr) ED_undo_push(C, t->undostr);
- else ED_undo_push(C, transform_to_undostr(t));
+// if(t->undostr) ED_undo_push(C, t->undostr);
+// else ED_undo_push(C, transform_to_undostr(t));
}
t->undostr= NULL;