Fix T80895: Complex solidify compare edges by content
Even if the index of the edge is not equal the content can be equal if it has been merged. So compare the content. Ref D8931
This commit is contained in:
parent
35708db5d2
commit
ad16b2c515
Notes:
blender-bot
2023-02-14 06:19:41 +01:00
Referenced by issue #80895, Complex Solidify Merge Algorithm Crash
|
@ -619,7 +619,7 @@ Mesh *MOD_solidify_nonmanifold_modifyMesh(ModifierData *md,
|
|||
uint *e_adj_faces_faces = e_adj_faces->faces;
|
||||
bool *e_adj_faces_reversed = e_adj_faces->faces_reversed;
|
||||
const uint faces_len = e_adj_faces->faces_len;
|
||||
if (e != i) {
|
||||
if (e_adj_faces_faces != adj_faces->faces) {
|
||||
/* Find index of e in #adj_faces. */
|
||||
for (face_index = 0;
|
||||
face_index < faces_len && e_adj_faces_faces[face_index] != face;
|
||||
|
|
Loading…
Reference in New Issue