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>2013-03-06 07:58:38 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-06 07:58:38 +0400
commit74a9c1510a0be7f28056dd12a8280eb3d4931a5f (patch)
tree913aa91bddac250d21698f768d5508cb1920e946 /source/blender/editors/object/object_modifier.c
parentbf5eccc7281e1329ba0350bcb1b8c85cb452e8ff (diff)
Alternate fix for bug [#34369], where invalid polygon normals could be saved in the mesh data and in the file.
This was from initial BMesh merge, but should not have been added in since face normals are calculated and stored in the DerivedMesh. Toggling editmode would remove poly-normals so its unlikely anything relies on this custom-data.
Diffstat (limited to 'source/blender/editors/object/object_modifier.c')
-rw-r--r--source/blender/editors/object/object_modifier.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/object/object_modifier.c b/source/blender/editors/object/object_modifier.c
index 34c3dbd92e2..8d29813e2ac 100644
--- a/source/blender/editors/object/object_modifier.c
+++ b/source/blender/editors/object/object_modifier.c
@@ -620,8 +620,6 @@ static int modifier_apply_obdata(ReportList *reports, Scene *scene, Object *ob,
}
DM_to_mesh(dm, me, ob);
- /* so we don't reuse this normal layer, see: [#34369] */
- CustomData_free_layers(&me->pdata, CD_NORMAL, me->totpoly);
dm->release(dm);