revert r50969, gives problems with weight paint + modifiers, need to investigate...
authorCampbell Barton <ideasman42@gmail.com>
Mon, 1 Oct 2012 14:23:57 +0000 (14:23 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 1 Oct 2012 14:23:57 +0000 (14:23 +0000)
source/blender/blenkernel/intern/DerivedMesh.c

index cdae3148e6b675c9a4bef1ade69b8070b5989d4c..9aaeb4c8baf652bb9056b8c98e6231e0ae7d6b29 100644 (file)
@@ -578,8 +578,13 @@ void DM_set_only_copy(DerivedMesh *dm, CustomDataMask mask)
        CustomData_set_only_copy(&dm->vertData, mask);
        CustomData_set_only_copy(&dm->edgeData, mask);
        CustomData_set_only_copy(&dm->faceData, mask);
+       /* this wasn't in 2.63 and is disabled for 2.64 because it gives problems with
+        * weight paint mode when there are modifiers applied, needs further investigation,
+        * see replies to r50969, Campbell */
+#if 0
        CustomData_set_only_copy(&dm->loopData, mask);
        CustomData_set_only_copy(&dm->polyData, mask);
+#endif
 }
 
 void DM_add_vert_layer(DerivedMesh *dm, int type, int alloctype, void *layer)