@vesium/plot 1.0.1-beta.71 → 1.0.1-beta.74

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.
@@ -514,7 +514,7 @@ _turf_turf = __toESM(_turf_turf);
514
514
  const primitiveCollection = (0, vesium.usePrimitive)(new cesium.PrimitiveCollection());
515
515
  const groundPrimitiveCollection = (0, vesium.usePrimitive)(new cesium.PrimitiveCollection(), { collection: "ground" });
516
516
  const dataSource = (0, vesium.useDataSource)(new cesium.CustomDataSource());
517
- const entityScope = (0, vesium.useEntityScope)({ collection: () => dataSource.value.entities });
517
+ const entityScope = (0, vesium.useEntityScope)({ collection: () => dataSource.value?.entities });
518
518
  const primitiveScope = (0, vesium.usePrimitiveScope)({ collection: () => primitiveCollection.value });
519
519
  const groundPrimitiveScope = (0, vesium.usePrimitiveScope)({ collection: () => groundPrimitiveCollection.value });
520
520
  const mouseCartesian = (0, vue.shallowRef)();
@@ -576,6 +576,7 @@ _turf_turf = __toESM(_turf_turf);
576
576
  };
577
577
  (0, vue.watch)(current, (plot, previous) => {
578
578
  previous && update(previous);
579
+ plot && !plot.defining && update(plot);
579
580
  });
580
581
  (0, vesium.useCesiumEventListener)(() => plots.value.map((item) => item.definitionChanged), (plot, key) => {
581
582
  if ([