From fffba2b6530e3bc94db3f27a8912ca112d5e7706 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 14 Jan 2020 16:32:14 +1100 Subject: Cleanup: move property auto-keyframing to a generic API function Prepare to call this from gizmos. --- source/blender/editors/include/ED_keyframing.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/blender/editors/include') 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 */ -- cgit v1.2.3