Ensure edges visibility based on display mode
This commit is contained in:
@@ -1692,6 +1692,7 @@ export class ViewportHost {
|
|||||||
})
|
})
|
||||||
);
|
);
|
||||||
edges.position.copy(mesh.position);
|
edges.position.copy(mesh.position);
|
||||||
|
edges.visible = this.displayMode !== "wireframe";
|
||||||
|
|
||||||
this.brushGroup.add(mesh);
|
this.brushGroup.add(mesh);
|
||||||
this.brushGroup.add(edges);
|
this.brushGroup.add(edges);
|
||||||
|
|||||||
Reference in New Issue
Block a user