diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2019-09-26 19:04:03 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2019-09-27 18:46:56 +0300 |
commit | 97f4d4c66ebb51608be11c6615a85164a4c2b408 (patch) | |
tree | 2f1ca9d0d263ff4bea15dc53cb76c729d6e51753 /source/blender/editors | |
parent | 2bef8c5ea8ba3df69397b998c8be72e92be5da94 (diff) |
Fix T70280: QuadriFlow remesh with "Use Paint Symmetry" and "Smooth Normals" may give wrong normals
Reviewed By: jbakker
Maniphest Tasks: T70280
Differential Revision: https://developer.blender.org/D5904
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/object/object_remesh.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_remesh.c b/source/blender/editors/object/object_remesh.c index f8ca3b268cc..2674f19bd70 100644 --- a/source/blender/editors/object/object_remesh.c +++ b/source/blender/editors/object/object_remesh.c @@ -364,6 +364,9 @@ static void quadriflow_start_job(void *customdata, short *stop, short *do_update BKE_mesh_nomain_to_mesh(new_mesh, mesh, ob, &CD_MASK_MESH, true); if (qj->smooth_normals) { + if (qj->use_paint_symmetry) { + BKE_mesh_calc_normals(ob->data); + } BKE_mesh_smooth_flag_set(ob->data, true); } |