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.
- package/dist/bruce-cesium.es5.js +5 -5
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +3 -3
- package/dist/bruce-cesium.umd.js.map +1 -1
- package/dist/lib/bruce-cesium.js +1 -1
- package/dist/lib/rendering/visual-register-culler.js +1 -2
- package/dist/lib/rendering/visual-register-culler.js.map +1 -1
- package/dist/lib/rendering/visuals-register.js +1 -0
- package/dist/lib/rendering/visuals-register.js.map +1 -1
- package/dist/types/bruce-cesium.d.ts +1 -1
- package/dist/types/rendering/visual-register-culler.d.ts +1 -0
- package/package.json +1 -1
package/dist/bruce-cesium.es5.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Cesium from 'cesium';
|
|
2
|
-
import { Cartographic,
|
|
3
|
-
import { Cartes, Entity as Entity$1, ENVIRONMENT,
|
|
2
|
+
import { Cartographic, Entity, DistanceDisplayCondition, ColorMaterialProperty, Color, Math as Math$1, Cartesian3, JulianDate, Quaternion, Transforms, HeadingPitchRoll, Matrix4, ConstantProperty, CallbackProperty, Primitive, Cesium3DTileFeature, HeightReference, ColorBlendMode, ShadowMode, ClassificationType, Model, ArcType, CornerType, ConstantPositionProperty, HorizontalOrigin, VerticalOrigin, ImageMaterialProperty, PolygonHierarchy, PolylineGraphics, Cartesian2, SceneTransforms, NearFarScalar, Matrix3, Rectangle, KmlDataSource, GeoJsonDataSource, SceneMode, Cesium3DTileStyle, HeadingPitchRange, Cesium3DTileColorBlendMode, Ion, IonResource, Cesium3DTileset, OrthographicFrustum, EasingFunction, EllipsoidTerrainProvider, IonImageryProvider, createWorldImagery, createWorldImageryAsync, BingMapsImageryProvider, BingMapsStyle, MapboxImageryProvider, MapboxStyleImageryProvider, ArcGisMapServerImageryProvider, OpenStreetMapImageryProvider, UrlTemplateImageryProvider, GridImageryProvider, GeographicTilingScheme, ImageryLayer, TileMapServiceImageryProvider, CesiumTerrainProvider, ModelGraphics, PolygonGraphics, CorridorGraphics, PointGraphics, BillboardGraphics, EllipseGraphics, PolylineDashMaterialProperty, EllipsoidGeodesic, sampleTerrainMostDetailed, defined, PolygonPipeline, CustomDataSource, CesiumInspector, ClockRange, BoundingSphere, GeometryInstance, ScreenSpaceEventHandler, ScreenSpaceEventType, Fullscreen, Intersect, CzmlDataSource } from 'cesium';
|
|
3
|
+
import { Cartes, Entity as Entity$1, ENVIRONMENT, Calculator, ClientFile, EntityLod, EntityTag, EntityType, LRUCache, ObjectUtils, Style, Carto, Geometry, MenuItem, ProjectView, ProjectViewBookmark, Tileset, ZoomControl, Api, Bounds, Color as Color$1, BruceEvent, EntityCoords, DataLab, DelayQueue, EntityHistoricData, BruceApi, AccountConcept, RecordChangeFeed, EntityRelation, ProgramKey, EntitySource, Camera, ProjectViewTile, ProjectViewLegacyTile, Session, EntityAttachment, EntityAttachmentType, EntityAttribute, MathUtils, EntityRelationType } from 'bruce-models';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Ensures a number is returned from a given value.
|
|
@@ -6664,6 +6664,7 @@ var VisualRegisterCuller;
|
|
|
6664
6664
|
VisualRegisterCuller.IsCullingIgnored = IsCullingIgnored;
|
|
6665
6665
|
/**
|
|
6666
6666
|
* Discards what the culler knows about an entity's extent, so its next check measures the geometry again.
|
|
6667
|
+
* The last cull decision is deliberately kept, see the loop below.
|
|
6667
6668
|
* @param visuals an entity, an entity id, or an array of either.
|
|
6668
6669
|
*/
|
|
6669
6670
|
function InvalidateBounds(visuals) {
|
|
@@ -6687,8 +6688,6 @@ var VisualRegisterCuller;
|
|
|
6687
6688
|
continue;
|
|
6688
6689
|
}
|
|
6689
6690
|
ids.push(part.id);
|
|
6690
|
-
// The per-entity answer is derived from the sphere, so it goes stale with it.
|
|
6691
|
-
delete part[VisualRegisterCuller.VISUAL_CULL_KEY];
|
|
6692
6691
|
}
|
|
6693
6692
|
}
|
|
6694
6693
|
invalidateBounds(ids);
|
|
@@ -8209,6 +8208,7 @@ var VisualsRegister;
|
|
|
8209
8208
|
else {
|
|
8210
8209
|
// The geometry almost certainly moved, so what was measured before is worthless.
|
|
8211
8210
|
VisualRegisterCuller.InvalidateBounds(rego.visual);
|
|
8211
|
+
VisualRegisterCuller.MarkShouldRecheck(this.viewer);
|
|
8212
8212
|
}
|
|
8213
8213
|
}
|
|
8214
8214
|
}
|
|
@@ -40415,7 +40415,7 @@ var StyleUtils;
|
|
|
40415
40415
|
StyleUtils.ApplyTypeStyle = ApplyTypeStyle;
|
|
40416
40416
|
})(StyleUtils || (StyleUtils = {}));
|
|
40417
40417
|
|
|
40418
|
-
const VERSION = "7.0.
|
|
40418
|
+
const VERSION = "7.0.6";
|
|
40419
40419
|
/**
|
|
40420
40420
|
* Updates the environment instance used by bruce-cesium to one specified.
|
|
40421
40421
|
* This can be used to ensure that the instance a parent is referencing is shared between bruce-cesium, bruce-models, and the parent app.
|