[Bf-blender-cvs] [97f4d4c66eb] master: Fix T70280: QuadriFlow remesh with "Use Paint Symmetry" and "Smooth Normals" may give wrong normals
Pablo Dobarro
noreply at git.blender.org
Fri Sep 27 17:44:50 CEST 2019
Commit: 97f4d4c66ebb51608be11c6615a85164a4c2b408
Author: Pablo Dobarro
Date: Thu Sep 26 18:04:03 2019 +0200
Branches: master
https://developer.blender.org/rB97f4d4c66ebb51608be11c6615a85164a4c2b408
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
===================================================================
M source/blender/editors/object/object_remesh.c
===================================================================
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);
}
More information about the Bf-blender-cvs
mailing list