From 0b413e406d7335a9a5d7d7b2ba2ae4f199d2fbcf Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 20 Nov 2017 22:33:16 +1100 Subject: Avoid passing context to motion path calculation --- source/blender/blenkernel/BKE_anim.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/blenkernel/BKE_anim.h') diff --git a/source/blender/blenkernel/BKE_anim.h b/source/blender/blenkernel/BKE_anim.h index 9beff85b87c..30a7bdb0a27 100644 --- a/source/blender/blenkernel/BKE_anim.h +++ b/source/blender/blenkernel/BKE_anim.h @@ -41,7 +41,7 @@ struct bAnimVizSettings; struct bMotionPath; struct bPoseChannel; struct ReportList; -struct bContext; +struct Main; /* ---------------------------------------------------- */ /* Animation Visualization */ @@ -54,7 +54,7 @@ void animviz_free_motionpath(struct bMotionPath *mpath); struct bMotionPath *animviz_verify_motionpaths(struct ReportList *reports, struct Scene *scene, struct Object *ob, struct bPoseChannel *pchan); void animviz_get_object_motionpaths(struct Object *ob, ListBase *targets); -void animviz_calc_motionpaths(struct bContext *C, struct Scene *scene, ListBase *targets); +void animviz_calc_motionpaths(struct EvaluationContext *eval_ctx, struct Main *bmain, struct Scene *scene, ListBase *targets); /* ---------------------------------------------------- */ /* Curve Paths */ -- cgit v1.2.3