diff options
author | Hans Goudey <h.goudey@me.com> | 2022-08-05 01:05:46 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-08-05 01:05:46 +0300 |
commit | 5b8c07dc50e0589ba77ae1589e5950fd161a5631 (patch) | |
tree | dd3f4c5afaa0acc29fea7a3bb6ce9bb0aa008d6b /source/blender/blenkernel/intern/object_update.c | |
parent | 8b467313965ac5ea86d71e6ac90c0e9f54f2c830 (diff) |
Cleanup: Remove outdated code for mesh normals
After recent refactors to mesh normals (cfa53e0fbeed), they are no
longer stored in CustomData. A mechanism to compute them eagerly
should be implemented another way.
Diffstat (limited to 'source/blender/blenkernel/intern/object_update.c')
-rw-r--r-- | source/blender/blenkernel/intern/object_update.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/object_update.c b/source/blender/blenkernel/intern/object_update.c index 8ff02c7e698..1f7df2773dc 100644 --- a/source/blender/blenkernel/intern/object_update.c +++ b/source/blender/blenkernel/intern/object_update.c @@ -149,10 +149,6 @@ void BKE_object_handle_data_update(Depsgraph *depsgraph, Scene *scene, Object *o cddata_masks.pmask |= CD_MASK_PROP_ALL; cddata_masks.lmask |= CD_MASK_PROP_ALL; - /* Also copy over normal layers to avoid recomputation. */ - cddata_masks.pmask |= CD_MASK_NORMAL; - cddata_masks.vmask |= CD_MASK_NORMAL; - /* Make sure Freestyle edge/face marks appear in DM for render (see T40315). * Due to Line Art implementation, edge marks should also be shown in viewport. */ #ifdef WITH_FREESTYLE |