Inherit edges visibility from the mesh.
This commit is contained in:
parent
c3eb21b185
commit
d3d3b720a5
@ -197,6 +197,7 @@ OV.ViewerGeometry = class
|
||||
}));
|
||||
line.applyMatrix4 (mesh.matrixWorld);
|
||||
line.userData = mesh.userData;
|
||||
line.visible = mesh.visible;
|
||||
this.mainEdgeObject.add (line);
|
||||
});
|
||||
this.scene.add (this.mainEdgeObject);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user