diff options
author | Sebastian Parborg <darkdefende@gmail.com> | 2020-03-03 17:25:49 +0300 |
---|---|---|
committer | Sebastian Parborg <darkdefende@gmail.com> | 2020-03-03 17:30:29 +0300 |
commit | 1ba4aa37c95683e3f247fdc92fe1d2cde128b465 (patch) | |
tree | 682c9158c4a2875d646bd0f8b70a26402534a209 /source | |
parent | ed29ff944a7381ba893d186f3c6095801c51d799 (diff) |
Remove the "use mesh curvature" option from quadriflow
It sometimes caused the solver to get into an seemingly unrecoverable
state and crash. Therefore I will disable this feature for now.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/object/object_remesh.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/editors/object/object_remesh.c b/source/blender/editors/object/object_remesh.c index f6e80df7cd8..68d8d26b22b 100644 --- a/source/blender/editors/object/object_remesh.c +++ b/source/blender/editors/object/object_remesh.c @@ -397,15 +397,15 @@ static void quadriflow_start_job(void *customdata, short *stop, short *do_update /* Bisect the input mesh using the paint symmetry settings */ bisect_mesh = remesh_symmetry_bisect(qj->bmain, bisect_mesh, qj->symmetry_axes); - new_mesh = BKE_mesh_remesh_quadriflow_to_mesh_nomain(bisect_mesh, - qj->target_faces, - qj->seed, - qj->use_preserve_sharp, - qj->use_preserve_boundary || - qj->use_paint_symmetry, - qj->use_mesh_curvature, - quadriflow_update_job, - (void *)qj); + new_mesh = BKE_mesh_remesh_quadriflow_to_mesh_nomain( + bisect_mesh, + qj->target_faces, + qj->seed, + qj->use_preserve_sharp, + qj->use_preserve_boundary || qj->use_paint_symmetry, + false, // TODO unstable, can lead to uncoverable errors (sebpa) qj->use_mesh_curvature, + quadriflow_update_job, + (void *)qj); BKE_id_free(qj->bmain, bisect_mesh); @@ -653,13 +653,13 @@ void OBJECT_OT_quadriflow_remesh(wmOperatorType *ot) false, "Preserve Mesh Boundary", "Try to preserve mesh boundary on the mesh"); - + /* TODO unstable, can lead to uncoverable errors (sebpa) RNA_def_boolean(ot->srna, "use_mesh_curvature", false, "Use Mesh Curvature", "Take the mesh curvature into account when remeshing"); - + */ RNA_def_boolean(ot->srna, "preserve_paint_mask", false, |