diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-08-26 21:30:38 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-08-27 23:36:39 +0400 |
commit | 6891f1c9e05bd67eb98c37fb05157775590e6eac (patch) | |
tree | d0e580267899678b2debdf987f8708ba7d5b75d4 /source/blender/makesdna/DNA_anim_types.h | |
parent | 63b981bf9bae1ad6c3929a32107dcb09caf1ec45 (diff) |
Fix T41266: Copy and paste operation on f-curves do not respect keyframe tangent handles...
Added an extra option to `insert_bezt_fcurve()`, to allow full override of existing
keyframes when pasting (in this case, we do not want to inherit handles from existing
curve!).
Diffstat (limited to 'source/blender/makesdna/DNA_anim_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_anim_types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_anim_types.h b/source/blender/makesdna/DNA_anim_types.h index 390233a433d..3d0d6b820d7 100644 --- a/source/blender/makesdna/DNA_anim_types.h +++ b/source/blender/makesdna/DNA_anim_types.h @@ -793,6 +793,9 @@ typedef enum eInsertKeyFlags { INSERTKEY_REPLACE = (1<<4), /* only replace an existing keyframe (this overrides INSERTKEY_NEEDED) */ INSERTKEY_XYZ2RGB = (1<<5), /* transform F-Curves should have XYZ->RGB color mode */ INSERTKEY_NO_USERPREF = (1 << 6), /* ignore user-prefs (needed for predictable API use) */ + /* Allow to make a full copy of new key into existing one, if any, instead of 'reusing' existing handles. + * Used by copy/paste code. */ + INSERTKEY_OVERWRITE_FULL = (1<<7), } eInsertKeyFlags; /* ************************************************ */ |