diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-01 08:59:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-01 08:59:21 +0400 |
commit | a9efe26ab8ba8eca7f3d73c38e05fa007b665e61 (patch) | |
tree | 0f77f4d77dea1adb3b054081b2c52632766d3ded /source | |
parent | ded317840bffbf2bddc7887587292f2c5e9f8ce3 (diff) |
DM_set_only_copy() wasn't setting only-copy flags for loops and polygons. (should have been added during bmesh merge)
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/DerivedMesh.c | 2 |
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) |