Commit: 5878050a4bd163928ba16d8181e9034cb5347088
Author: Antony Riakiotakis
Date:   Sat Jul 25 16:16:25 2015 +0200
Branches: master
https://developer.blender.org/rB5878050a4bd163928ba16d8181e9034cb5347088

Fix T45515, dynamic paint not displaying colors correctly.

Looptri refactor artifact

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

M       source/blender/editors/space_view3d/drawobject.c

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

diff --git a/source/blender/editors/space_view3d/drawobject.c 
b/source/blender/editors/space_view3d/drawobject.c
index 9abc63f..bfc5a32 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 */

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to