From 5cb633ce3f6c7459faab085134b6dcdbf010da4b Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Tue, 9 Oct 2018 13:37:41 +0000 Subject: [PATCH] Cleanup --- source/blender/editors/sculpt_paint/paint_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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};