bruce-cesium 7.0.5 → 7.0.6

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.
@@ -6648,6 +6648,7 @@
6648
6648
  VisualRegisterCuller.IsCullingIgnored = IsCullingIgnored;
6649
6649
  /**
6650
6650
  * Discards what the culler knows about an entity's extent, so its next check measures the geometry again.
6651
+ * The last cull decision is deliberately kept, see the loop below.
6651
6652
  * @param visuals an entity, an entity id, or an array of either.
6652
6653
  */
6653
6654
  function InvalidateBounds(visuals) {
@@ -6671,8 +6672,6 @@
6671
6672
  continue;
6672
6673
  }
6673
6674
  ids.push(part.id);
6674
- // The per-entity answer is derived from the sphere, so it goes stale with it.
6675
- delete part[VisualRegisterCuller.VISUAL_CULL_KEY];
6676
6675
  }
6677
6676
  }
6678
6677
  invalidateBounds(ids);
@@ -8189,6 +8188,7 @@
8189
8188
  else {
8190
8189
  // The geometry almost certainly moved, so what was measured before is worthless.
8191
8190
  VisualRegisterCuller.InvalidateBounds(rego.visual);
8191
+ VisualRegisterCuller.MarkShouldRecheck(this.viewer);
8192
8192
  }
8193
8193
  }
8194
8194
  }
@@ -40293,7 +40293,7 @@
40293
40293
  StyleUtils.ApplyTypeStyle = ApplyTypeStyle;
40294
40294
  })(exports.StyleUtils || (exports.StyleUtils = {}));
40295
40295
 
40296
- const VERSION = "7.0.5";
40296
+ const VERSION = "7.0.6";
40297
40297
  /**
40298
40298
  * Updates the environment instance used by bruce-cesium to one specified.
40299
40299
  * This can be used to ensure that the instance a parent is referencing is shared between bruce-cesium, bruce-models, and the parent app.