diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-09-30 15:52:59 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-09-30 15:52:59 +0400 |
commit | 80a4bbf47382c8a6d37d14e931e81d2e364880a9 (patch) | |
tree | 4ed9ee7343dc73a76f2a886b79fb5685e2b4d71f /source/blender/include | |
parent | 1eb06b9370ca47b52870051dd49c770507967960 (diff) |
Bugfix:
Keyframing from Buttons Window was broken for Materials/Lamps/Worlds due to a mixup regarding the correct adrcodes for texture-slots.
Diffstat (limited to 'source/blender/include')
-rw-r--r-- | source/blender/include/BIF_keyframing.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/include/BIF_keyframing.h b/source/blender/include/BIF_keyframing.h index 7989e6adb45..5d43a50efec 100644 --- a/source/blender/include/BIF_keyframing.h +++ b/source/blender/include/BIF_keyframing.h @@ -49,13 +49,17 @@ int insert_bezt_icu(struct IpoCurve *icu, struct BezTriple *bezt); void insert_vert_icu(struct IpoCurve *icu, float x, float y, short flag); -/* flags for use in insert_key(), and insert_vert_icu() */ +/* flags for use by keyframe creation/deletion calls */ enum { + /* used by isnertkey() and insert_vert_icu() */ INSERTKEY_NEEDED = (1<<0), /* only insert keyframes where they're needed */ INSERTKEY_MATRIX = (1<<1), /* insert 'visual' keyframes where possible/needed */ INSERTKEY_FAST = (1<<2), /* don't recalculate handles,etc. after adding key */ INSERTKEY_FASTR = (1<<3), /* don't realloc mem (or increase count, as array has already been set out) */ INSERTKEY_REPLACE = (1<<4), /* only replace an existing keyframe (this overrides INSERTKEY_NEEDED) */ + + /* used by common_*key() functions */ + COMMONKEY_ADDMAP = (1<<10), /* common key: add texture-slot offset bitflag to adrcode before use */ } eInsertKeyFlags; /* -------- */ |