mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-21 01:13:37 +08:00
Fix creating face not deleting duplicate edges
Fix unable to extrude single uncorrected vertex
This commit is contained in:
parent
32bfa3273f
commit
932ab3f9bf
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user