[Bf-blender-cvs] [5878050] master: Fix T45515, dynamic paint not displaying colors correctly.
Antony Riakiotakis
noreply at git.blender.org
Sat Jul 25 16:16:56 CEST 2015
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 */
More information about the Bf-blender-cvs
mailing list