[Bf-blender-cvs] [9dbe0f9c04f] master: Fix T78367: triangulate modifier does not preserve sculpt vertex colors

Brecht Van Lommel noreply at git.blender.org
Tue Jun 30 12:00:55 CEST 2020


Commit: 9dbe0f9c04f2cb48d5ff92bc2ce106567a2e0fd9
Author: Brecht Van Lommel
Date:   Tue Jun 30 11:58:41 2020 +0200
Branches: master
https://developer.blender.org/rB9dbe0f9c04f2cb48d5ff92bc2ce106567a2e0fd9

Fix T78367: triangulate modifier does not preserve sculpt vertex colors

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

M	source/blender/blenkernel/intern/customdata.c

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

diff --git a/source/blender/blenkernel/intern/customdata.c b/source/blender/blenkernel/intern/customdata.c
index 76d31ab30b4..2be61239ac6 100644
--- a/source/blender/blenkernel/intern/customdata.c
+++ b/source/blender/blenkernel/intern/customdata.c
@@ -1889,7 +1889,7 @@ const CustomData_MeshMasks CD_MASK_EDITMESH = {
 };
 const CustomData_MeshMasks CD_MASK_DERIVEDMESH = {
     .vmask = (CD_MASK_ORIGINDEX | CD_MASK_MDEFORMVERT | CD_MASK_SHAPEKEY | CD_MASK_MVERT_SKIN |
-              CD_MASK_ORCO | CD_MASK_CLOTH_ORCO | CD_MASK_GENERIC_DATA),
+              CD_MASK_ORCO | CD_MASK_CLOTH_ORCO | CD_MASK_GENERIC_DATA | CD_MASK_PROP_COLOR),
     .emask = (CD_MASK_ORIGINDEX | CD_MASK_FREESTYLE_EDGE | CD_MASK_GENERIC_DATA),
     .fmask = (CD_MASK_ORIGINDEX | CD_MASK_ORIGSPACE | CD_MASK_PREVIEW_MCOL | CD_MASK_TANGENT),
     .lmask = (CD_MASK_MLOOPUV | CD_MASK_MLOOPCOL | CD_MASK_CUSTOMLOOPNORMAL |



More information about the Bf-blender-cvs mailing list