diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-09 14:49:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-09 14:49:38 +0300 |
commit | 9f4b5d49fcc90c1ac41d3c969a5cfd3d75fc432d (patch) | |
tree | 31cb82ad964424cbcbb3e05cc04afb3728cf7220 /source/blender/editors/space_action | |
parent | c6b3d4ff1417cf0c87d8fc79552ae01a27b1a15a (diff) |
Problem with FCurve pasting reported by Rob Garlington.
- Pasting from 1 fcurve to any other fcurve now works (skip index and rna path checking).
- Pasting multiple fcurves between bones now works.
- If path checking fails, pasting matches indices so Scale XYZ can be pasted into Location XYZ for eg.
Diffstat (limited to 'source/blender/editors/space_action')
-rw-r--r-- | source/blender/editors/space_action/action_edit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_action/action_edit.c b/source/blender/editors/space_action/action_edit.c index 4d35b5ca4ff..59e4cfcf68f 100644 --- a/source/blender/editors/space_action/action_edit.c +++ b/source/blender/editors/space_action/action_edit.c @@ -358,6 +358,10 @@ static int actkeys_paste_exec(bContext *C, wmOperator *op) if (ANIM_animdata_get_context(C, &ac) == 0) return OPERATOR_CANCELLED; + if(ac.reports==NULL) { + ac.reports= op->reports; + } + /* paste keyframes */ if (ac.datatype == ANIMCONT_GPENCIL) { // FIXME... |