diff options
author | Ton Roosendaal <ton@blender.org> | 2009-02-17 18:53:52 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-02-17 18:53:52 +0300 |
commit | 9322bddf2c8997adafe3474e50bbb2eab7ab2076 (patch) | |
tree | dcb59d85488efc58d745c9b124bf44a8264526b1 /source/blender/editors/transform | |
parent | 9185f7931aba220c0b8ac82878e869225f2549dd (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.c | 6 |
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; |