fix [#30280] bmesh: Dissolve with error message kills Crease
authorCampbell Barton <ideasman42@gmail.com>
Thu, 1 Mar 2012 19:05:14 +0000 (19:05 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 1 Mar 2012 19:05:14 +0000 (19:05 +0000)
CD_MASK_BMESH was didnt include crease of bevel weight - so copying the bmesh would skip these.

source/blender/blenkernel/intern/customdata.c

index bfd5ac0bb0917113ac4111e432c0d57e811a474a..1d6e6be0fba577df7393e53761b6e8b54ad6ff05 100644 (file)
@@ -1081,7 +1081,7 @@ const CustomDataMask CD_MASK_DERIVEDMESH =
        CD_MASK_ORIGINDEX | CD_MASK_POLYINDEX;
 const CustomDataMask CD_MASK_BMESH = CD_MASK_MLOOPUV | CD_MASK_MLOOPCOL | CD_MASK_MTEXPOLY |
        CD_MASK_MSTICKY | CD_MASK_MDEFORMVERT | CD_MASK_PROP_FLT | CD_MASK_PROP_INT | 
-       CD_MASK_PROP_STR | CD_MASK_SHAPEKEY | CD_MASK_SHAPE_KEYINDEX | CD_MASK_MDISPS;
+       CD_MASK_PROP_STR | CD_MASK_SHAPEKEY | CD_MASK_SHAPE_KEYINDEX | CD_MASK_MDISPS | CD_MASK_CREASE | CD_MASK_BWEIGHT;
 const CustomDataMask CD_MASK_FACECORNERS =
        CD_MASK_MTFACE | CD_MASK_MCOL | CD_MASK_MTEXPOLY | CD_MASK_MLOOPUV |
        CD_MASK_MLOOPCOL;