@xeokit/xeokit-sdk 2.6.16 → 2.6.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xeokit/xeokit-sdk",
3
- "version": "2.6.16",
3
+ "version": "2.6.17",
4
4
  "description": "Web Programming Toolkit for 3D/2D BIM and AEC Graphics",
5
5
  "module": "./dist/xeokit-sdk.es.js",
6
6
  "main": "./dist/xeokit-sdk.cjs.js",
@@ -246,6 +246,9 @@ class Marker extends Component {
246
246
  return;
247
247
  }
248
248
  this._occludable = occludable;
249
+ if (this._occludable) {
250
+ this._renderer.markerWorldPosUpdated(this);
251
+ }
249
252
  }
250
253
 
251
254
  /**
@@ -74,7 +74,6 @@ class OcclusionTester {
74
74
  markerWorldPosUpdated(marker) {
75
75
  const occlusionLayer = this._markersToOcclusionLayersMap[marker.id];
76
76
  if (!occlusionLayer) {
77
- marker.error("Marker has not been added to OcclusionTester");
78
77
  return;
79
78
  }
80
79
  const originHash = marker.origin.join();