Ensure edges visibility based on display mode

This commit is contained in:
2026-04-04 19:07:08 +02:00
parent fdc582a494
commit 7f5671051c

View File

@@ -1692,6 +1692,7 @@ export class ViewportHost {
})
);
edges.position.copy(mesh.position);
edges.visible = this.displayMode !== "wireframe";
this.brushGroup.add(mesh);
this.brushGroup.add(edges);