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 14:04:40 +0300
committerJoshua Leung <aligorith@gmail.com>2018-06-01 14:04:40 +0300
commitcd6109fd4f5dcc9d61a14b9667d3b7cffd57d2e5 (patch)
treee194b94e370432b5d943078e9a3cdb39d14553d4
parent49a727a784df4064c35c3d85a98232378abde2cd (diff)
Compile fix for previous commit: Forgot to reset these variables (were used when testing previous fix)
-rw-r--r--source/blender/draw/intern/draw_anim_viz.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/intern/draw_anim_viz.c b/source/blender/draw/intern/draw_anim_viz.c
index c3932d4de27..a6489627144 100644
--- a/source/blender/draw/intern/draw_anim_viz.c
+++ b/source/blender/draw/intern/draw_anim_viz.c
@@ -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, scene_eval, ob, pchan, &ob->pose->avs, pchan->mpath);
+ MPATH_cache_motion_path(psl, draw_ctx->scene, ob, pchan, &ob->pose->avs, pchan->mpath);
}
}
}
}
else {
if (ob->mpath) {
- MPATH_cache_motion_path(psl, scene_eval, ob, NULL, &ob->avs, ob->mpath);
+ MPATH_cache_motion_path(psl, draw_ctx->scene, ob, NULL, &ob->avs, ob->mpath);
}
}
}