Fix dissolving edges creating inverted faces

This commit is contained in:
JannisX11 2023-03-21 21:33:39 +01:00
parent 30c99de40a
commit fda020d26e

View File

@ -1447,6 +1447,10 @@ BARS.defineActions(function() {
delete face_b.uv[edge_vkey];
}
})
// Make sure orientation stays the same
if (face_b.getAngleTo(face_a) > 90) {
face_b.invert();
}
}
// Remove all other faces and lines