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:
authorJoshua Leung <aligorith@gmail.com>2018-06-01 15:00:48 +0300
committerJoshua Leung <aligorith@gmail.com>2018-06-01 15:00:48 +0300
commitfea05c695a05c6a8f60406e7dc9b5eebd2af5401 (patch)
treee63da40a3fafdfe4a31b2b4ee61e50923c255121
parent83afc4e1a255c2db58b2f547919ae0046300c6f0 (diff)
Cleanup: Fix compiler warning
-rw-r--r--source/blender/draw/intern/draw_anim_viz.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/draw/intern/draw_anim_viz.c b/source/blender/draw/intern/draw_anim_viz.c
index 48f457b974c..ffc921e2081 100644
--- a/source/blender/draw/intern/draw_anim_viz.c
+++ b/source/blender/draw/intern/draw_anim_viz.c
@@ -538,7 +538,7 @@ static void MPATH_cache_init(void *vedata)
}
}
-static void MPATH_cache_motion_path(MPATH_PassList *psl, Scene *scene,
+static void MPATH_cache_motion_path(MPATH_PassList *psl,
Object *ob, bPoseChannel *pchan,
bAnimVizSettings *avs, bMotionPath *mpath)
{
@@ -682,14 +682,14 @@ static void MPATH_cache_populate(void *vedata, Object *ob)
if (DRW_pose_mode_armature(ob, draw_ctx->obact)) {
for (bPoseChannel *pchan = ob->pose->chanbase.first; pchan; pchan = pchan->next) {
if (pchan->mpath) {
- MPATH_cache_motion_path(psl, draw_ctx->scene, ob, pchan, &ob->pose->avs, pchan->mpath);
+ MPATH_cache_motion_path(psl, ob, pchan, &ob->pose->avs, pchan->mpath);
}
}
}
}
else {
if (ob->mpath) {
- MPATH_cache_motion_path(psl, draw_ctx->scene, ob, NULL, &ob->avs, ob->mpath);
+ MPATH_cache_motion_path(psl, ob, NULL, &ob->avs, ob->mpath);
}
}
}