diff options
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_anim_api.h | 2 | ||||
-rw-r--r-- | source/blender/editors/include/ED_keyframing.h | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/editors/include/ED_anim_api.h b/source/blender/editors/include/ED_anim_api.h index bffa11a32f2..9d9f2925c23 100644 --- a/source/blender/editors/include/ED_anim_api.h +++ b/source/blender/editors/include/ED_anim_api.h @@ -95,6 +95,8 @@ typedef struct bAnimContext { struct Scene *scene; /** active scene layer */ struct ViewLayer *view_layer; + /** active dependency graph */ + struct Depsgraph *depsgraph; /** active object */ struct Object *obact; /** active set of markers */ diff --git a/source/blender/editors/include/ED_keyframing.h b/source/blender/editors/include/ED_keyframing.h index 5635ef2800a..3fe6407aae7 100644 --- a/source/blender/editors/include/ED_keyframing.h +++ b/source/blender/editors/include/ED_keyframing.h @@ -38,6 +38,7 @@ struct Scene; struct KeyingSet; +struct AnimationEvalContext; struct BezTriple; struct FCurve; struct bAction; @@ -118,7 +119,7 @@ bool insert_keyframe_direct(struct ReportList *reports, struct PointerRNA ptr, struct PropertyRNA *prop, struct FCurve *fcu, - float cfra, + const struct AnimationEvalContext *anim_eval_context, eBezTriple_KeyframeType keytype, struct NlaKeyframingContext *nla, eInsertKeyFlags flag); @@ -136,7 +137,7 @@ int insert_keyframe(struct Main *bmain, const char group[], const char rna_path[], int array_index, - float cfra, + const struct AnimationEvalContext *anim_eval_context, eBezTriple_KeyframeType keytype, struct ListBase *nla_cache, eInsertKeyFlags flag); @@ -458,7 +459,7 @@ bool fcurve_frame_has_keyframe(struct FCurve *fcu, float frame, short filter); bool fcurve_is_changed(struct PointerRNA ptr, struct PropertyRNA *prop, struct FCurve *fcu, - float frame); + const struct AnimationEvalContext *anim_eval_context); /** * Main Keyframe Checking API call: |