[Bf-blender-cvs] [5cb633ce3f6] blender2.8: Cleanup

Dalai Felinto noreply at git.blender.org
Tue Oct 9 16:24:38 CEST 2018


Commit: 5cb633ce3f6c7459faab085134b6dcdbf010da4b
Author: Dalai Felinto
Date:   Tue Oct 9 13:37:41 2018 +0000
Branches: blender2.8
https://developer.blender.org/rB5cb633ce3f6c7459faab085134b6dcdbf010da4b

Cleanup

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

M	source/blender/editors/sculpt_paint/paint_utils.c

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

diff --git a/source/blender/editors/sculpt_paint/paint_utils.c b/source/blender/editors/sculpt_paint/paint_utils.c
index e914a24092e..aca563c5eab 100644
--- a/source/blender/editors/sculpt_paint/paint_utils.c
+++ b/source/blender/editors/sculpt_paint/paint_utils.c
@@ -466,7 +466,7 @@ void paint_sample_color(bContext *C, ARegion *ar, int x, int y, bool texpaint_pr
 
 		if (ob) {
 			Mesh *me = (Mesh *)ob->data;
-			Mesh *me_eval = BKE_object_get_evaluated_mesh(depsgraph, ob);  /* Or shall we just do ob_eval->mesh_eval ? */
+			Mesh *me_eval = ob_eval->runtime.mesh_eval;
 
 			ViewContext vc;
 			const int mval[2] = {x, y};



More information about the Bf-blender-cvs mailing list