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:
authorCampbell Barton <ideasman42@gmail.com>2020-01-14 08:32:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-01-14 09:05:59 +0300
commitfffba2b6530e3bc94db3f27a8912ca112d5e7706 (patch)
tree40a0510256101e41fbee86bf109c836ead2cb24c /source/blender/editors/include
parentc56526d8b68abdd4feb0367c716e713966b8de0f (diff)
Cleanup: move property auto-keyframing to a generic API function
Prepare to call this from gizmos.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/ED_keyframing.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_keyframing.h b/source/blender/editors/include/ED_keyframing.h
index 16b3c9c240a..ac3007afe5d 100644
--- a/source/blender/editors/include/ED_keyframing.h
+++ b/source/blender/editors/include/ED_keyframing.h
@@ -492,6 +492,12 @@ bool ED_autokeyframe_pchan(struct bContext *C,
struct Object *ob,
struct bPoseChannel *pchan,
struct KeyingSet *ks);
+bool ED_autokeyframe_property(struct bContext *C,
+ struct Scene *scene,
+ PointerRNA *ptr,
+ PropertyRNA *prop,
+ int rnaindex,
+ float cfra);
/* Names for builtin keying sets so we don't confuse these with labels/text,
* defined in python script: keyingsets_builtins.py */