Skip to content

Commit

Permalink
Rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Sep 4, 2024
1 parent 81f5076 commit 0251dfb
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 5 deletions.
8 changes: 8 additions & 0 deletions dist/xeokit-sdk.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -91486,6 +91486,12 @@ class FastNavPlugin extends Plugin {
class GLTFDefaultDataSource {

constructor(cfg = {}) {

/**
* Set `true` to enable cache busting for HTTP GETs.
* This is `true` by default.
* @type {boolean}
*/
this.cacheBuster = (cfg.cacheBuster !== false);
}

Expand Down Expand Up @@ -126903,6 +126909,8 @@ class TreeViewPlugin extends Plugin {
return; // Node may not exist for the given object if (this._pruneEmptyNodes == true)
}

this.collapse();

const nodeId = node.nodeId;

const switchElement = this._renderService.getSwitchElement(nodeId);
Expand Down
8 changes: 8 additions & 0 deletions dist/xeokit-sdk.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -91482,6 +91482,12 @@ class FastNavPlugin extends Plugin {
class GLTFDefaultDataSource {

constructor(cfg = {}) {

/**
* Set `true` to enable cache busting for HTTP GETs.
* This is `true` by default.
* @type {boolean}
*/
this.cacheBuster = (cfg.cacheBuster !== false);
}

Expand Down Expand Up @@ -126899,6 +126905,8 @@ class TreeViewPlugin extends Plugin {
return; // Node may not exist for the given object if (this._pruneEmptyNodes == true)
}

this.collapse();

const nodeId = node.nodeId;

const switchElement = this._renderService.getSwitchElement(nodeId);
Expand Down
8 changes: 6 additions & 2 deletions dist/xeokit-sdk.es5.js
Original file line number Diff line number Diff line change
Expand Up @@ -20707,7 +20707,11 @@ return pickResult&&pickResult.worldPos?pickResult.worldPos:snap&&tryPickWorldPos
* Default data access strategy for {@link GLTFLoaderPlugin}.
*
* This just loads assets using XMLHttpRequest.
*/var GLTFDefaultDataSource=/*#__PURE__*/function(){function GLTFDefaultDataSource(){var cfg=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,GLTFDefaultDataSource);this.cacheBuster=cfg.cacheBuster!==false;}_createClass(GLTFDefaultDataSource,[{key:"_cacheBusterURL",value:function _cacheBusterURL(url){if(!this.cacheBuster){return url;}var timestamp=new Date().getTime();if(url.indexOf('?')>-1){return url+'&_='+timestamp;}else{return url+'?_='+timestamp;}}/**
*/var GLTFDefaultDataSource=/*#__PURE__*/function(){function GLTFDefaultDataSource(){var cfg=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};_classCallCheck(this,GLTFDefaultDataSource);/**
* Set `true` to enable cache busting for HTTP GETs.
* This is `true` by default.
* @type {boolean}
*/this.cacheBuster=cfg.cacheBuster!==false;}_createClass(GLTFDefaultDataSource,[{key:"_cacheBusterURL",value:function _cacheBusterURL(url){if(!this.cacheBuster){return url;}var timestamp=new Date().getTime();if(url.indexOf('?')>-1){return url+'&_='+timestamp;}else{return url+'?_='+timestamp;}}/**
* Gets metamodel JSON.
*
* @param {String|Number} metaModelSrc Identifies the metamodel JSON asset.
Expand Down Expand Up @@ -27556,7 +27560,7 @@ _this152._sortNodes=cfg.sortNodes;_this152._pruneEmptyNodes=cfg.pruneEmptyNodes;
*
* @param {String} objectId ID of the {@link Entity}.
*/},{key:"showNode",value:function showNode(objectId){this.unShowNode();var node=this._objectNodes[objectId];if(!node){return;// Node may not exist for the given object if (this._pruneEmptyNodes == true)
}var nodeId=node.nodeId;var switchElement=this._renderService.getSwitchElement(nodeId);if(switchElement){this._expandSwitchElement(switchElement);switchElement.scrollIntoView();return true;}var path=[];path.unshift(node);var parent=node.parent;while(parent){path.unshift(parent);parent=parent.parent;}for(var _i546=0,len=path.length;_i546<len;_i546++){var _switchElement=this._renderService.getSwitchElement(path[_i546].nodeId);if(_switchElement){this._expandSwitchElement(_switchElement);}}this._renderService.setHighlighted(nodeId,true);this._showListItemElementId=nodeId;}/**
}this.collapse();var nodeId=node.nodeId;var switchElement=this._renderService.getSwitchElement(nodeId);if(switchElement){this._expandSwitchElement(switchElement);switchElement.scrollIntoView();return true;}var path=[];path.unshift(node);var parent=node.parent;while(parent){path.unshift(parent);parent=parent.parent;}for(var _i546=0,len=path.length;_i546<len;_i546++){var _switchElement=this._renderService.getSwitchElement(path[_i546].nodeId);if(_switchElement){this._expandSwitchElement(_switchElement);}}this._renderService.setHighlighted(nodeId,true);this._showListItemElementId=nodeId;}/**
* De-highlights the node previously shown with {@link TreeViewPlugin#showNode}.
*
* Does nothing if no node is currently shown.
Expand Down
2 changes: 1 addition & 1 deletion dist/xeokit-sdk.min.cjs.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/xeokit-sdk.min.es.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/xeokit-sdk.min.es5.js

Large diffs are not rendered by default.

0 comments on commit 0251dfb

Please sign in to comment.