Redo managing structure how-to page and rename ./menu to ./structool

This commit is contained in:
ForestOfLight
2025-04-14 23:27:05 -07:00
Unverified
parent 0c361a2523
commit 8a380dc173
8 changed files with 46 additions and 30 deletions
+11 -4
View File
@@ -9,10 +9,17 @@ export class StructureOutliner {
}
pullInstanceData() {
this.dimension = this.instance.getDimension();
this.bounds = this.instance.getBounds();
this.bounds.min = this.instance.toGlobalCoords(this.bounds.min);
this.bounds.max = this.instance.toGlobalCoords(this.bounds.max);
try {
this.dimension = this.instance.getDimension();
this.bounds = this.instance.getBounds();
this.bounds.min = this.instance.toGlobalCoords(this.bounds.min);
this.bounds.max = this.instance.toGlobalCoords(this.bounds.max);
} catch (e) {
if (e.name === 'InvalidStructureError')
this.outliner.stopDraw();
else
throw e;
}
}
refresh() {