Skip to content

Commit

Permalink
Merge pull request #1608 from xeokit/fix-treeviewplugin-error-msg
Browse files Browse the repository at this point in the history
[FIX] Fix TreeiewPlugin error report when Storeys view not possible
  • Loading branch information
xeolabs authored Aug 2, 2024
2 parents 8eedcc4 + 7727e11 commit 6de2e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/TreeViewPlugin/TreeViewPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ export class TreeViewPlugin extends Plugin {
this._nodeNodes[buildingNode.nodeId] = buildingNode;
} else if (metaObjectType === "IfcBuildingStorey") {
if (!buildingNode) {
this.error("Failed to build storeys hierarchy for model '" + this.metaModel.id + "' - model does not have an IfcBuilding object, or is not an IFC model");
this.error("Failed to build storeys hierarchy for model - model does not have an IfcBuilding object, or is not an IFC model");
return;
}
storeyNode = {
Expand Down

0 comments on commit 6de2e64

Please sign in to comment.