diff options
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_undo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_undo.c b/source/blender/editors/sculpt_paint/sculpt_undo.c index 3b7cd2fb77d..ceefda99002 100644 --- a/source/blender/editors/sculpt_paint/sculpt_undo.c +++ b/source/blender/editors/sculpt_paint/sculpt_undo.c @@ -546,8 +546,7 @@ static void sculpt_undo_restore(bContext *C, ListBase *lb) if (ss->kb || ss->modifiers_active) { Mesh *mesh = ob->data; - BKE_mesh_calc_normals_tessface(mesh->mvert, mesh->totvert, - mesh->mface, mesh->totface, NULL); + BKE_mesh_calc_normals(mesh); BKE_sculptsession_free_deformMats(ss); tag_update |= true; |