bruce-cesium 2.6.7 → 2.6.8
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 +14 -8
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +13 -7
- package/dist/bruce-cesium.umd.js.map +1 -1
- package/dist/lib/bruce-cesium.js +1 -1
- package/dist/lib/rendering/render-managers/tilesets/tileset-cad-render-manager.js +1 -1
- package/dist/lib/rendering/render-managers/tilesets/tileset-cad-render-manager.js.map +1 -1
- package/dist/lib/rendering/tileset-render-engine.js +11 -5
- package/dist/lib/rendering/tileset-render-engine.js.map +1 -1
- package/dist/types/bruce-cesium.d.ts +1 -1
- package/dist/types/rendering/tileset-render-engine.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-cesium.umd.js
CHANGED
|
@@ -6968,10 +6968,11 @@
|
|
|
6968
6968
|
enumerable: false,
|
|
6969
6969
|
configurable: true
|
|
6970
6970
|
});
|
|
6971
|
-
Styler.prototype.QueueEntities = function (entities) {
|
|
6971
|
+
Styler.prototype.QueueEntities = function (entities, highPriority) {
|
|
6972
|
+
if (highPriority === void 0) { highPriority = false; }
|
|
6972
6973
|
for (var i = 0; i < entities.length; i++) {
|
|
6973
6974
|
var entity = entities[i];
|
|
6974
|
-
this.queueTilesetFeatureStyle(entity);
|
|
6975
|
+
this.queueTilesetFeatureStyle(entity, highPriority);
|
|
6975
6976
|
}
|
|
6976
6977
|
if (this.recordLoadQueue.length > 0) {
|
|
6977
6978
|
this.processQueue();
|
|
@@ -7250,7 +7251,7 @@
|
|
|
7250
7251
|
var entityId = batch[i];
|
|
7251
7252
|
var entity = _this.getEntityRego(entityId);
|
|
7252
7253
|
if (entity) {
|
|
7253
|
-
_this.queueTilesetFeatureStyle(entity);
|
|
7254
|
+
_this.queueTilesetFeatureStyle(entity, false);
|
|
7254
7255
|
}
|
|
7255
7256
|
}
|
|
7256
7257
|
_this.viewer.scene.requestRender();
|
|
@@ -7264,7 +7265,7 @@
|
|
|
7264
7265
|
});
|
|
7265
7266
|
});
|
|
7266
7267
|
};
|
|
7267
|
-
Styler.prototype.queueTilesetFeatureStyle = function (entity) {
|
|
7268
|
+
Styler.prototype.queueTilesetFeatureStyle = function (entity, highPriority) {
|
|
7268
7269
|
if (this.styleMappingLoaded || this.styleMappingsLoaded[entity.entityTypeId] == true) {
|
|
7269
7270
|
var needsData = this.getTilesetFeatureNeedsFullData(entity.entityId, entity.entityTypeId);
|
|
7270
7271
|
if (needsData) {
|
|
@@ -7277,7 +7278,12 @@
|
|
|
7277
7278
|
}
|
|
7278
7279
|
}
|
|
7279
7280
|
else {
|
|
7280
|
-
|
|
7281
|
+
if (highPriority) {
|
|
7282
|
+
this.recordCheckQueue.unshift(entity.entityId);
|
|
7283
|
+
}
|
|
7284
|
+
else {
|
|
7285
|
+
this.recordCheckQueue.push(entity.entityId);
|
|
7286
|
+
}
|
|
7281
7287
|
}
|
|
7282
7288
|
};
|
|
7283
7289
|
Styler.prototype.styleTilesetFeature = function (entity) {
|
|
@@ -7723,7 +7729,7 @@
|
|
|
7723
7729
|
if (entityIds != null) {
|
|
7724
7730
|
regos = regos.filter(function (r) { return entityIds.indexOf(r.entityId) >= 0; });
|
|
7725
7731
|
}
|
|
7726
|
-
this.styler.QueueEntities(regos);
|
|
7732
|
+
this.styler.QueueEntities(regos, true);
|
|
7727
7733
|
return [2 /*return*/];
|
|
7728
7734
|
});
|
|
7729
7735
|
});
|
|
@@ -15122,7 +15128,7 @@
|
|
|
15122
15128
|
ViewerUtils.CreateWidgets = CreateWidgets;
|
|
15123
15129
|
})(exports.ViewerUtils || (exports.ViewerUtils = {}));
|
|
15124
15130
|
|
|
15125
|
-
var VERSION$1 = "2.6.
|
|
15131
|
+
var VERSION$1 = "2.6.8";
|
|
15126
15132
|
|
|
15127
15133
|
exports.VERSION = VERSION$1;
|
|
15128
15134
|
exports.CesiumViewMonitor = CesiumViewMonitor;
|