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>2012-11-13 18:34:36 +0400
committerTon Roosendaal <ton@blender.org>2012-11-13 18:34:36 +0400
commit37cc2b4fdcb24e73b804916ed13ca5f8b4a8141d (patch)
treefb15efca0a34b3c80d51250da310e04dfc4e57ea /source/blender/editors/object/object_relations.c
parent5aee7c7744005d11a9cc060e99b840749b671cfa (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/editors/object/object_relations.c')
-rw-r--r--source/blender/editors/object/object_relations.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c
index 58c6959d6f0..f5b5097733d 100644
--- a/source/blender/editors/object/object_relations.c
+++ b/source/blender/editors/object/object_relations.c
@@ -1233,7 +1233,7 @@ static int move_to_layer_invoke(bContext *C, wmOperator *op, wmEvent *event)
}
else {
move_to_layer_init(C, op);
- return WM_operator_props_popup(C, op, event);
+ return WM_operator_props_dialog_popup(C, op, 260, 30);
}
}