Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-10-01 08:59:21 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-10-01 08:59:21 +0400
commita9efe26ab8ba8eca7f3d73c38e05fa007b665e61 (patch)
tree0f77f4d77dea1adb3b054081b2c52632766d3ded
parentded317840bffbf2bddc7887587292f2c5e9f8ce3 (diff)
DM_set_only_copy() wasn't setting only-copy flags for loops and polygons. (should have been added during bmesh merge)
-rw-r--r--source/blender/blenkernel/intern/DerivedMesh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/DerivedMesh.c b/source/blender/blenkernel/intern/DerivedMesh.c
index 5e13fe78a43..cdae3148e6b 100644
--- a/source/blender/blenkernel/intern/DerivedMesh.c
+++ b/source/blender/blenkernel/intern/DerivedMesh.c
@@ -578,6 +578,8 @@ 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);
+ CustomData_set_only_copy(&dm->loopData, mask);
+ CustomData_set_only_copy(&dm->polyData, mask);
}
void DM_add_vert_layer(DerivedMesh *dm, int type, int alloctype, void *layer)