@xeokit/xeokit-sdk 2.6.14 → 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.
@@ -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();