Inherit edges visibility from the mesh.

This commit is contained in:
kovacsv 2021-12-08 18:30:43 +01:00
parent c3eb21b185
commit d3d3b720a5

View File

@ -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);