Fix creating face not deleting duplicate edges

Fix unable to extrude single uncorrected vertex
This commit is contained in:
JannisX11 2024-01-03 18:47:58 +01:00
parent 32bfa3273f
commit 932ab3f9bf

View File

@ -785,7 +785,7 @@ BARS.defineActions(function() {
reference_face = face;
reference_face_strength = match_strength;
}
if (face.isSelected(key)) {
if (match_strength == face.vertices.length) {
delete mesh.faces[key];
}
}
@ -1167,6 +1167,8 @@ BARS.defineActions(function() {
} else if (match) {
// perpendicular edge, currently unused
direction = match.getNormal(true);
} else {
direction = [0, 1, 0];
}
}