Do not use feature set in the viewer.
This commit is contained in:
parent
06a20bffd2
commit
6c57e785ca
@ -496,13 +496,12 @@ OV.Viewer = class
|
||||
this.geometry.SetMainObject (object);
|
||||
this.shading.SetType (shadingType);
|
||||
|
||||
if (OV.FeatureSet.GridDisplay) {
|
||||
let boundingBox = this.GetBoundingBox ((meshUserData) => {
|
||||
return true;
|
||||
});
|
||||
let cellSize = 1.0;
|
||||
this.axis.AddAxisLines (boundingBox, cellSize);
|
||||
}
|
||||
// let boundingBox = this.GetBoundingBox ((meshUserData) => {
|
||||
// return true;
|
||||
// });
|
||||
// let cellSize = 1.0;
|
||||
// this.axis.AddAxisLines (boundingBox, cellSize);
|
||||
|
||||
this.Render ();
|
||||
}
|
||||
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
OV.FeatureSet =
|
||||
{
|
||||
GridDisplay : false
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user