diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-10-09 16:37:41 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-10-09 16:38:25 +0300 |
commit | 5cb633ce3f6c7459faab085134b6dcdbf010da4b (patch) | |
tree | c27d8a88ae1244d4a364c75d8837f7fbe732393c /source/blender/editors/sculpt_paint/paint_utils.c | |
parent | f81e8903b407e8faa5f6c78a90bd802bb85fb13e (diff) |
Cleanup
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_utils.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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}; |