diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-01-10 20:48:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-01-10 20:48:38 +0300 |
commit | 795ca28a821dda9d68b40ba0162865fe7ec758ee (patch) | |
tree | 4076b95a5a3cc8ffb1f59a615ea587ddca47267c /source/blender/editors/space_action/action_edit.c | |
parent | dd69f1968e51a26ff7560d5d1e545e55cc7f5944 (diff) |
action paste properties were assigned to copy operator instead.
Diffstat (limited to 'source/blender/editors/space_action/action_edit.c')
-rw-r--r-- | source/blender/editors/space_action/action_edit.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/source/blender/editors/space_action/action_edit.c b/source/blender/editors/space_action/action_edit.c index 7756075b292..c97ed67a45b 100644 --- a/source/blender/editors/space_action/action_edit.c +++ b/source/blender/editors/space_action/action_edit.c @@ -347,16 +347,11 @@ void ACTION_OT_copy (wmOperatorType *ot) // ot->invoke= WM_operator_props_popup; // better wait for graph redo panel ot->exec= actkeys_copy_exec; ot->poll= ED_operator_action_active; - + /* flags */ ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; - - RNA_def_enum(ot->srna, "offset", keyframe_paste_offset_items, KEYFRAME_PASTE_OFFSET_CFRA_START, "Offset", "Paste time offset of keys"); - RNA_def_enum(ot->srna, "merge", keyframe_paste_merge_items, KEYFRAME_PASTE_MERGE_MIX, "Type", "Method of merking pasted keys and existing"); } - - static int actkeys_paste_exec(bContext *C, wmOperator *op) { bAnimContext ac; @@ -405,6 +400,9 @@ void ACTION_OT_paste (wmOperatorType *ot) /* flags */ ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + + RNA_def_enum(ot->srna, "offset", keyframe_paste_offset_items, KEYFRAME_PASTE_OFFSET_CFRA_START, "Offset", "Paste time offset of keys"); + RNA_def_enum(ot->srna, "merge", keyframe_paste_merge_items, KEYFRAME_PASTE_MERGE_MIX, "Type", "Method of merking pasted keys and existing"); } /* ******************** Insert Keyframes Operator ************************* */ |