diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-22 20:10:30 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-22 20:10:30 +0300 |
commit | 8aebcf8b7d760d086f59bfb2335d2c636ef91d4d (patch) | |
tree | 7535a8fcb956ab418a81900a71c0a6b4dbfa73f3 /source/blender/blenkernel/intern/DerivedMesh.c | |
parent | 2fb9a50a4f740fdbec12d3e89fb5a927f10c60e1 (diff) |
Fix crash in modifier stack after recent changes.
Diffstat (limited to 'source/blender/blenkernel/intern/DerivedMesh.c')
-rw-r--r-- | source/blender/blenkernel/intern/DerivedMesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/DerivedMesh.c b/source/blender/blenkernel/intern/DerivedMesh.c index af5a3f9d2df..cdd877bcfcc 100644 --- a/source/blender/blenkernel/intern/DerivedMesh.c +++ b/source/blender/blenkernel/intern/DerivedMesh.c @@ -2464,7 +2464,7 @@ static void mesh_calc_modifiers( if (do_loop_normals) { /* Compute loop normals (note: will compute poly and vert normals as well, if needed!) */ BKE_mesh_calc_normals_split(final_mesh); - BKE_mesh_tessface_clear(mesh); + BKE_mesh_tessface_clear(final_mesh); } if (sculpt_dyntopo == false) { |