[Bf-blender-cvs] [cd6109fd4f5] tmp-b28-motionpath-drawing: Compile fix for previous commit: Forgot to reset these variables (were used when testing previous fix)

Joshua Leung noreply at git.blender.org
Fri Jun 1 13:53:07 CEST 2018


Commit: cd6109fd4f5dcc9d61a14b9667d3b7cffd57d2e5
Author: Joshua Leung
Date:   Fri Jun 1 13:04:40 2018 +0200
Branches: tmp-b28-motionpath-drawing
https://developer.blender.org/rBcd6109fd4f5dcc9d61a14b9667d3b7cffd57d2e5

Compile fix for previous commit: Forgot to reset these variables (were used when testing previous fix)

===================================================================

M	source/blender/draw/intern/draw_anim_viz.c

===================================================================

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);
 		}
 	}
 }



More information about the Bf-blender-cvs mailing list