Do not use feature set in the viewer.

This commit is contained in:
kovacsv 2021-11-20 17:20:55 +01:00
parent 06a20bffd2
commit 6c57e785ca
2 changed files with 6 additions and 8 deletions

View File

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

View File

@ -1,4 +1,3 @@
OV.FeatureSet =
{
GridDisplay : false
};