[Bf-blender-cvs] [a9dc3fbef89] master: Fix T80893: Complex solidify special case with singularity
Henrik Dick
noreply at git.blender.org
Mon Oct 5 14:58:22 CEST 2020
Commit: a9dc3fbef898720d564afaa57deedb483bb75ba8
Author: Henrik Dick
Date: Fri Oct 2 00:21:22 2020 +0200
Branches: master
https://developer.blender.org/rBa9dc3fbef898720d564afaa57deedb483bb75ba8
Fix T80893: Complex solidify special case with singularity
Ref D8929
===================================================================
M source/blender/modifiers/intern/MOD_solidify_nonmanifold.c
===================================================================
diff --git a/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c b/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c
index 20db13d4540..fda1e3fe08b 100644
--- a/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c
+++ b/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c
@@ -2190,8 +2190,10 @@ Mesh *MOD_solidify_nonmanifold_modifyMesh(ModifierData *md,
NewEdgeRef *edge1 = new_edges[0];
NewEdgeRef *edge2 = new_edges[1];
- const bool v1_singularity = edge1->link_edge_groups[0]->is_singularity;
- const bool v2_singularity = edge1->link_edge_groups[1]->is_singularity;
+ const bool v1_singularity = edge1->link_edge_groups[0]->is_singularity &&
+ edge2->link_edge_groups[0]->is_singularity;
+ const bool v2_singularity = edge1->link_edge_groups[1]->is_singularity &&
+ edge2->link_edge_groups[1]->is_singularity;
if (v1_singularity && v2_singularity) {
continue;
}
More information about the Bf-blender-cvs
mailing list