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/curve/editcurve.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/curve/editcurve.c')
-rw-r--r-- | source/blender/editors/curve/editcurve.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c index d4fb3d41d24..4c7a01dc291 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -1538,6 +1538,7 @@ void CURVE_OT_separate(wmOperatorType *ot) ot->description = "Separate selected points from connected unselected points into a new object"; /* api callbacks */ + ot->invoke = WM_operator_confirm; ot->exec = separate_exec; ot->poll = ED_operator_editsurfcurve; |