Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Dick <hen-di@web.de>2020-10-02 01:21:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-10-05 15:56:44 +0300
commita9dc3fbef898720d564afaa57deedb483bb75ba8 (patch)
treebb210e74db8c5dbf7e8e786347c58cf422399907
parentad16b2c51532fd8f401d981e421367407bf84e94 (diff)
Fix T80893: Complex solidify special case with singularity
Ref D8929
-rw-r--r--source/blender/modifiers/intern/MOD_solidify_nonmanifold.c6
1 files changed, 4 insertions, 2 deletions
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;
}