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
This commit is contained in:
Pablo Dobarro 2019-09-26 18:04:03 +02:00
parent 2bef8c5ea8
commit 97f4d4c66e
Notes: blender-bot 2023-04-04 07:45:26 +02:00
Referenced by issue #70280, QuadriFlow remesh with "Use Paint Symmetry" and "Smooth Normals" may give wrong normals
Referenced by issue #70285, After using quadriflow the 3D Cursors has weird behaviour
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}