diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-04 05:57:29 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-04 05:57:29 +0400 |
commit | c2157518de1ff81e5f8f2842bb13ef49de8f635c (patch) | |
tree | 2549b76e6e5d684b200e75fce3427a18379c7c2c | |
parent | 2921d48239da85b995c77980cc5bf91ea4a69c3e (diff) |
fix [#34369] applying screw modifier turns object to black
-rw-r--r-- | source/blender/editors/object/object_modifier.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_modifier.c b/source/blender/editors/object/object_modifier.c index 8d29813e2ac..34c3dbd92e2 100644 --- a/source/blender/editors/object/object_modifier.c +++ b/source/blender/editors/object/object_modifier.c @@ -620,6 +620,8 @@ 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); |