diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-05-27 02:53:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-05-27 02:56:50 +0300 |
commit | c3810c596e91c2dd3729bc827a54796ebd10d9c9 (patch) | |
tree | 3a303cb97ba3696becde7afd06a3c1fae9e613a9 /source/blender/editors/armature/armature_relations.c | |
parent | 84ad20acef4c0db91c9a850e81c7dc0a57aef42a (diff) |
Use PKey for edit-armature separate
As used already for mesh & curves.
Add confirmation menu for curve & armature,
since this isn't such a common operation and undoing leaves object data
(long term bug/todo to fix).
Diffstat (limited to 'source/blender/editors/armature/armature_relations.c')
-rw-r--r-- | source/blender/editors/armature/armature_relations.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/armature/armature_relations.c b/source/blender/editors/armature/armature_relations.c index cee34257b2c..058a9a5fd03 100644 --- a/source/blender/editors/armature/armature_relations.c +++ b/source/blender/editors/armature/armature_relations.c @@ -660,6 +660,7 @@ void ARMATURE_OT_separate(wmOperatorType *ot) ot->description = "Isolate selected bones into a separate armature"; /* callbacks */ + ot->invoke = WM_operator_confirm; ot->exec = separate_armature_exec; ot->poll = ED_operator_editarmature; |