Skip to content

Commit

Permalink
npm run build
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Jun 20, 2024
1 parent 34b354d commit 02a20ff
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 11 deletions.
12 changes: 9 additions & 3 deletions dist/xeokit-sdk.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -10589,11 +10589,17 @@ class Marker extends Component {
return;
}
if (this._onEntityDestroyed !== null) {
this._entity.model.off(this._onEntityDestroyed);
if (this._entity.model) {
this._entity.model.off(this._onEntityDestroyed);
} else {
this._entity.off(this._onEntityDestroyed);
}
this._onEntityDestroyed = null;
}
if (this._onEntityModelDestroyed !== null) {
this._entity.model.off(this._onEntityModelDestroyed);
if (this._entity.model) {
this._entity.model.off(this._onEntityModelDestroyed);
}
this._onEntityModelDestroyed = null;
}
}
Expand All @@ -10605,7 +10611,7 @@ class Marker extends Component {
this._onEntityModelDestroyed = null;
});
} else {
this._onEntityDestroyed = this._entity.model.on("destroyed", () => {
this._onEntityDestroyed = this._entity.on("destroyed", () => {
this._entity = null;
this._onEntityDestroyed = null;
});
Expand Down
12 changes: 9 additions & 3 deletions dist/xeokit-sdk.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -10585,11 +10585,17 @@ class Marker extends Component {
return;
}
if (this._onEntityDestroyed !== null) {
this._entity.model.off(this._onEntityDestroyed);
if (this._entity.model) {
this._entity.model.off(this._onEntityDestroyed);
} else {
this._entity.off(this._onEntityDestroyed);
}
this._onEntityDestroyed = null;
}
if (this._onEntityModelDestroyed !== null) {
this._entity.model.off(this._onEntityModelDestroyed);
if (this._entity.model) {
this._entity.model.off(this._onEntityModelDestroyed);
}
this._onEntityModelDestroyed = null;
}
}
Expand All @@ -10601,7 +10607,7 @@ class Marker extends Component {
this._onEntityModelDestroyed = null;
});
} else {
this._onEntityDestroyed = this._entity.model.on("destroyed", () => {
this._onEntityDestroyed = this._entity.on("destroyed", () => {
this._entity = null;
this._onEntityDestroyed = null;
});
Expand Down
4 changes: 2 additions & 2 deletions dist/xeokit-sdk.es5.js
Original file line number Diff line number Diff line change
Expand Up @@ -2690,9 +2690,9 @@ if(this._visible===visible);this._visible=visible;this.fire("visible",this._visi
* can adjust that frequency via property {@link Scene#ticksPerOcclusionTest}.
*
* @type {Boolean}
*/,set:function set(entity){var _this14=this;if(this._entity){if(this._entity===entity){return;}if(this._onEntityDestroyed!==null){this._entity.model.off(this._onEntityDestroyed);this._onEntityDestroyed=null;}if(this._onEntityModelDestroyed!==null){this._entity.model.off(this._onEntityModelDestroyed);this._onEntityModelDestroyed=null;}}this._entity=entity;if(this._entity){if(this._entity instanceof SceneModelEntity){this._onEntityModelDestroyed=this._entity.model.on("destroyed",function(){// SceneModelEntity does not fire events, and cannot exist beyond its VBOSceneModel
*/,set:function set(entity){var _this14=this;if(this._entity){if(this._entity===entity){return;}if(this._onEntityDestroyed!==null){if(this._entity.model){this._entity.model.off(this._onEntityDestroyed);}else{this._entity.off(this._onEntityDestroyed);}this._onEntityDestroyed=null;}if(this._onEntityModelDestroyed!==null){if(this._entity.model){this._entity.model.off(this._onEntityModelDestroyed);}this._onEntityModelDestroyed=null;}}this._entity=entity;if(this._entity){if(this._entity instanceof SceneModelEntity){this._onEntityModelDestroyed=this._entity.model.on("destroyed",function(){// SceneModelEntity does not fire events, and cannot exist beyond its VBOSceneModel
_this14._entity=null;// Marker now may become visible, if it was synched to invisible Entity
_this14._onEntityModelDestroyed=null;});}else{this._onEntityDestroyed=this._entity.model.on("destroyed",function(){_this14._entity=null;_this14._onEntityDestroyed=null;});}}this.fire("entity",this._entity,true/* forget */);}},{key:"occludable",get:/**
_this14._onEntityModelDestroyed=null;});}else{this._onEntityDestroyed=this._entity.on("destroyed",function(){_this14._entity=null;_this14._onEntityDestroyed=null;});}}this.fire("entity",this._entity,true/* forget */);}},{key:"occludable",get:/**
* Gets whether occlusion testing is performed for this Marker.
*
* When this is ````true````, then {@link Marker#visible} will be ````false```` whenever the Marker is occluded by an {@link Entity} in the 3D view.
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 02a20ff

Please sign in to comment.