diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-07-25 17:16:25 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-07-25 17:16:37 +0300 |
commit | 5878050a4bd163928ba16d8181e9034cb5347088 (patch) | |
tree | e51a9018d23e5fb32edd593e4cd9659d262ea581 /source/blender/editors | |
parent | 50a46a5973d90787eaa37ea959b9035918a071af (diff) |
Fix T45515, dynamic paint not displaying colors correctly.
Looptri refactor artifact
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index 9abc63ffc37..bfc5a32e4a5 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -4020,7 +4020,7 @@ static void draw_mesh_fancy(Scene *scene, ARegion *ar, View3D *v3d, RegionView3D /* Check to draw dynamic paint colors (or weights from WeightVG modifiers). * Note: Last "preview-active" modifier in stack will win! */ - if (DM_get_poly_data_layer(dm, CD_PREVIEW_MLOOPCOL) && modifiers_isPreview(ob)) + if (DM_get_loop_data_layer(dm, CD_PREVIEW_MLOOPCOL) && modifiers_isPreview(ob)) draw_flags |= DRAW_MODIFIERS_PREVIEW; /* Unwanted combination */ |