Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gavrilov <angavrilov@gmail.com>2019-05-11 21:16:46 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2019-05-11 21:20:21 +0300
commitebc44aae9897607a7d19a642d1a2fdffa2b24400 (patch)
tree43191d4c9a91688403d63e79c76b61c509c060b0 /source/blender/makesdna/DNA_anim_types.h
parent83d35c25d0fcc9b095ef1a0e1c5c290bb04d3017 (diff)
Python API: expose more keyframing flags for use in keyframe_insert.
Expose REPLACE and CYCLE_AWARE, and add AVAILABLE for completeness. These flags are generic and safe to use, and necessary to match the behavior of certain UI options.
Diffstat (limited to 'source/blender/makesdna/DNA_anim_types.h')
-rw-r--r--source/blender/makesdna/DNA_anim_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_anim_types.h b/source/blender/makesdna/DNA_anim_types.h
index fbb720ad0b1..ecf587301c7 100644
--- a/source/blender/makesdna/DNA_anim_types.h
+++ b/source/blender/makesdna/DNA_anim_types.h
@@ -970,6 +970,8 @@ typedef enum eInsertKeyFlags {
INSERTKEY_DRIVER = (1 << 8),
/** for cyclic FCurves, adjust key timing to preserve the cycle period and flow */
INSERTKEY_CYCLE_AWARE = (1 << 9),
+ /** don't create new F-Curves (implied by INSERTKEY_REPLACE) */
+ INSERTKEY_AVAILABLE = (1 << 10),
} eInsertKeyFlags;
/* ************************************************ */