diff options
author | Ton Roosendaal <ton@blender.org> | 2012-11-13 18:34:36 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2012-11-13 18:34:36 +0400 |
commit | 37cc2b4fdcb24e73b804916ed13ca5f8b4a8141d (patch) | |
tree | fb15efca0a34b3c80d51250da310e04dfc4e57ea /source/blender/windowmanager | |
parent | 5aee7c7744005d11a9cc060e99b840749b671cfa (diff) |
Bugfix #26891
Recoded the move-to-layer popup to wait for execution of operator until you
press Enter or OK button.
That excludes undo/redo, which makes it faster for many too.
(note the menu is all hotkey driven, so it's MKEY, <number>, Enter)
Also fixed: missing MEM_free in this popup type.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 09dbedf4284..126d497e08e 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -1186,6 +1186,8 @@ static void wm_operator_ui_popup_ok(struct bContext *C, void *arg, int retval) if (op && retval > 0) WM_operator_call(C, op); + + MEM_freeN(data); } int WM_operator_ui_popup(bContext *C, wmOperator *op, int width, int height) |