@itwin/ecschema-rpcinterface-tests 5.2.0-dev.21 → 5.2.0-dev.23
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/lib/dist/bundled-tests.js +64 -30
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -91202,6 +91202,7 @@ class PlanarClipMaskState {
|
|
|
91202
91202
|
_tileTreeRefs;
|
|
91203
91203
|
_allLoaded = false;
|
|
91204
91204
|
_usingViewportOverrides = false;
|
|
91205
|
+
_overridesModelVisibility = false;
|
|
91205
91206
|
_maskRange = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Range3d.createNull();
|
|
91206
91207
|
constructor(settings) {
|
|
91207
91208
|
this.settings = settings;
|
|
@@ -91214,6 +91215,8 @@ class PlanarClipMaskState {
|
|
|
91214
91215
|
}
|
|
91215
91216
|
get usingViewportOverrides() { return this._usingViewportOverrides; }
|
|
91216
91217
|
;
|
|
91218
|
+
/** @internal */
|
|
91219
|
+
get overridesModelVisibility() { return this._overridesModelVisibility; }
|
|
91217
91220
|
discloseTileTrees(trees) {
|
|
91218
91221
|
if (this._tileTreeRefs)
|
|
91219
91222
|
this._tileTreeRefs.forEach((treeRef) => treeRef.discloseTileTrees(trees));
|
|
@@ -91249,7 +91252,7 @@ class PlanarClipMaskState {
|
|
|
91249
91252
|
}
|
|
91250
91253
|
// Returns any potential FeatureSymbology overrides for drawing the planar clip mask.
|
|
91251
91254
|
getPlanarClipMaskSymbologyOverrides(context, featureSymbologySource) {
|
|
91252
|
-
this._usingViewportOverrides = false;
|
|
91255
|
+
this._usingViewportOverrides = this._overridesModelVisibility = false;
|
|
91253
91256
|
// First obtain a list of models that will need to be turned off for drawing the planar clip mask (only used for batched tile trees).
|
|
91254
91257
|
const overrideModels = context.viewport.view.isSpatialView() ? context.viewport.view.getModelsNotInMask(this.settings.modelIds, _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.PlanarClipMaskMode.Priority === this.settings.mode) : undefined;
|
|
91255
91258
|
const noSubCategoryOrElementIds = !this.settings.subCategoryOrElementIds;
|
|
@@ -91259,6 +91262,7 @@ class PlanarClipMaskState {
|
|
|
91259
91262
|
const viewport = overrideModels && ovrBasedOnContext ? context.viewport : undefined;
|
|
91260
91263
|
const overrides = _render_FeatureSymbology__WEBPACK_IMPORTED_MODULE_1__.FeatureSymbology.Overrides.withSource(featureSymbologySource, viewport);
|
|
91261
91264
|
if (overrideModels) {
|
|
91265
|
+
this._overridesModelVisibility = true;
|
|
91262
91266
|
// overrideModels is used for batched models. For those, we need to create model overrides to turn off models that are
|
|
91263
91267
|
// not wanted in the mask (using transparency) no matter what mask mode is being used.
|
|
91264
91268
|
const appOff = _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.FeatureAppearance.fromTransparency(1.0);
|
|
@@ -114975,6 +114979,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
114975
114979
|
/* harmony export */ BatchUniforms: () => (/* binding */ BatchUniforms)
|
|
114976
114980
|
/* harmony export */ });
|
|
114977
114981
|
/* harmony import */ var _Sync__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Sync */ "../../core/frontend/lib/esm/internal/render/webgl/Sync.js");
|
|
114982
|
+
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
114978
114983
|
/*---------------------------------------------------------------------------------------------
|
|
114979
114984
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
114980
114985
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -114983,6 +114988,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
114983
114988
|
* @module WebGL
|
|
114984
114989
|
*/
|
|
114985
114990
|
|
|
114991
|
+
|
|
114986
114992
|
const scratchRgb = new Float32Array(3);
|
|
114987
114993
|
const noOverrideRgb = new Float32Array([-1.0, -1.0, -1.0]);
|
|
114988
114994
|
/** Maintains uniform variable state associated with the Batch currently being drawn by a Target.
|
|
@@ -115003,19 +115009,29 @@ class BatchUniforms {
|
|
|
115003
115009
|
this.state = batchState;
|
|
115004
115010
|
this._target = target;
|
|
115005
115011
|
}
|
|
115006
|
-
|
|
115012
|
+
clearCurrentBatch() {
|
|
115013
|
+
this._setCurrentBatch(undefined, undefined);
|
|
115014
|
+
}
|
|
115015
|
+
setCurrentBatch(batch, provider) {
|
|
115016
|
+
this._setCurrentBatch(batch, provider);
|
|
115017
|
+
}
|
|
115018
|
+
_setCurrentBatch(batch, provider) {
|
|
115007
115019
|
(0,_Sync__WEBPACK_IMPORTED_MODULE_0__.desync)(this);
|
|
115008
|
-
|
|
115020
|
+
let overrides;
|
|
115021
|
+
if (undefined !== batch) {
|
|
115022
|
+
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_1__.assert)(undefined !== provider);
|
|
115023
|
+
overrides = batch.getOverrides(this._target, provider);
|
|
115009
115024
|
this.state.push(batch, false);
|
|
115010
|
-
|
|
115025
|
+
}
|
|
115026
|
+
else {
|
|
115011
115027
|
this.state.pop();
|
|
115028
|
+
}
|
|
115012
115029
|
const batchId = this.state.currentBatchId;
|
|
115013
115030
|
this._scratchUint32[0] = batchId;
|
|
115014
115031
|
this._batchId[0] = this._scratchBytes[0];
|
|
115015
115032
|
this._batchId[1] = this._scratchBytes[1];
|
|
115016
115033
|
this._batchId[2] = this._scratchBytes[2];
|
|
115017
115034
|
this._batchId[3] = this._scratchBytes[3];
|
|
115018
|
-
const overrides = undefined !== batch ? batch.getOverrides(this._target) : undefined;
|
|
115019
115035
|
this._overrides = (undefined !== overrides && overrides.anyOverridden) ? overrides : undefined;
|
|
115020
115036
|
let sensors;
|
|
115021
115037
|
if (undefined !== batch && this._target.wantThematicSensors) {
|
|
@@ -118474,7 +118490,7 @@ class FeatureOverrides {
|
|
|
118474
118490
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== this._lut.dataBytes);
|
|
118475
118491
|
return this._lut.dataBytes;
|
|
118476
118492
|
}
|
|
118477
|
-
_initialize(map, ovrs, pickExcludes, hilite, flashed) {
|
|
118493
|
+
_initialize(provider, map, ovrs, pickExcludes, hilite, flashed) {
|
|
118478
118494
|
const nFeatures = map.numFeatures;
|
|
118479
118495
|
const dims = (0,_common_internal_render_VertexTable__WEBPACK_IMPORTED_MODULE_9__.computeDimensions)(nFeatures, 3, 0, _System__WEBPACK_IMPORTED_MODULE_6__.System.instance.maxTextureSize);
|
|
118480
118496
|
const width = dims.width;
|
|
@@ -118484,17 +118500,17 @@ class FeatureOverrides {
|
|
|
118484
118500
|
this._lutParams[1] = height;
|
|
118485
118501
|
const data = new Uint8Array(width * height * 4);
|
|
118486
118502
|
const creator = new _Texture__WEBPACK_IMPORTED_MODULE_7__.Texture2DDataUpdater(data);
|
|
118487
|
-
this.buildLookupTable(creator, map, ovrs, pickExcludes, flashed, hilite);
|
|
118503
|
+
this.buildLookupTable(provider, creator, map, ovrs, pickExcludes, flashed, hilite);
|
|
118488
118504
|
return _Texture__WEBPACK_IMPORTED_MODULE_7__.TextureHandle.createForData(width, height, data, true, _GL__WEBPACK_IMPORTED_MODULE_3__.GL.Texture.WrapMode.ClampToEdge);
|
|
118489
118505
|
}
|
|
118490
|
-
_update(map, lut, pickExcludes, flashed, hilites, ovrs) {
|
|
118506
|
+
_update(provider, map, lut, pickExcludes, flashed, hilites, ovrs) {
|
|
118491
118507
|
const updater = new _Texture__WEBPACK_IMPORTED_MODULE_7__.Texture2DDataUpdater((0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(lut.dataBytes));
|
|
118492
118508
|
if (undefined === ovrs) {
|
|
118493
118509
|
this.updateFlashedAndHilited(updater, map, pickExcludes, flashed, hilites);
|
|
118494
118510
|
}
|
|
118495
118511
|
else {
|
|
118496
118512
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== hilites);
|
|
118497
|
-
this.buildLookupTable(updater, map, ovrs, pickExcludes, flashed, hilites);
|
|
118513
|
+
this.buildLookupTable(provider, updater, map, ovrs, pickExcludes, flashed, hilites);
|
|
118498
118514
|
}
|
|
118499
118515
|
lut.update(updater);
|
|
118500
118516
|
}
|
|
@@ -118517,7 +118533,7 @@ class FeatureOverrides {
|
|
|
118517
118533
|
}
|
|
118518
118534
|
return curFlags;
|
|
118519
118535
|
}
|
|
118520
|
-
buildLookupTable(data, map, ovr, pickExclude, flashedIdParts, hilites) {
|
|
118536
|
+
buildLookupTable(provider, data, map, ovr, pickExclude, flashedIdParts, hilites) {
|
|
118521
118537
|
const allowHilite = true !== this._options.noHilite;
|
|
118522
118538
|
const allowFlash = true !== this._options.noFlash;
|
|
118523
118539
|
const allowEmphasis = true !== this._options.noEmphasis;
|
|
@@ -118545,7 +118561,7 @@ class FeatureOverrides {
|
|
|
118545
118561
|
prevModelId.upper = feature.modelId.upper;
|
|
118546
118562
|
isModelHilited = allowHilite && hilites.models.hasPair(feature.modelId);
|
|
118547
118563
|
}
|
|
118548
|
-
const app =
|
|
118564
|
+
const app = provider.getFeatureAppearance(ovr, feature.elementId.lower, feature.elementId.upper, feature.subCategoryId.lower, feature.subCategoryId.upper, feature.geometryClass, feature.modelId.lower, feature.modelId.upper, map.type, feature.animationNodeId);
|
|
118549
118565
|
// NB: If the appearance is fully transparent, then:
|
|
118550
118566
|
// - For normal ("primary") models, getAppearance() returns undefined.
|
|
118551
118567
|
// - For classifier models, getAppearance() returns the appearance, and classification shader will discard fully-transparent classified pixels.
|
|
@@ -118705,19 +118721,19 @@ class FeatureOverrides {
|
|
|
118705
118721
|
this._cleanup = undefined;
|
|
118706
118722
|
}
|
|
118707
118723
|
}
|
|
118708
|
-
initFromMap(map) {
|
|
118724
|
+
initFromMap(map, provider) {
|
|
118709
118725
|
const nFeatures = map.numFeatures;
|
|
118710
118726
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(0 < nFeatures);
|
|
118711
118727
|
this._lut = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this._lut);
|
|
118712
118728
|
const ovrs = this.target.currentFeatureSymbologyOverrides;
|
|
118713
118729
|
this._mostRecentSymbologyOverrides = ovrs;
|
|
118714
118730
|
const hilite = this.target.hilites;
|
|
118715
|
-
this._lut = this._initialize(map, ovrs, this.target.pickExclusions, hilite, this.target.flashed);
|
|
118731
|
+
this._lut = this._initialize(provider, map, ovrs, this.target.pickExclusions, hilite, this.target.flashed);
|
|
118716
118732
|
this._lastFlashId = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.invalid;
|
|
118717
118733
|
this._hiliteSyncObserver = {};
|
|
118718
118734
|
this._pickExclusionsSyncObserver = {};
|
|
118719
118735
|
}
|
|
118720
|
-
update(features) {
|
|
118736
|
+
update(features, provider) {
|
|
118721
118737
|
let ovrs = this.target.currentFeatureSymbologyOverrides;
|
|
118722
118738
|
const ovrsUpdated = ovrs !== this._mostRecentSymbologyOverrides;
|
|
118723
118739
|
if (ovrsUpdated)
|
|
@@ -118731,7 +118747,7 @@ class FeatureOverrides {
|
|
|
118731
118747
|
if (ovrsUpdated || hiliteUpdated || flashedId !== this._lastFlashId || pickExcludesUpdated) {
|
|
118732
118748
|
// _lut can be undefined if context was lost, (gl.createTexture returns null)
|
|
118733
118749
|
if (this._lut) {
|
|
118734
|
-
this._update(features, this._lut, undefined !== ovrs || pickExcludesUpdated ? this.target.pickExclusions : undefined, this.target.flashed, undefined !== ovrs || hiliteUpdated ? hilite : undefined, ovrs);
|
|
118750
|
+
this._update(provider, features, this._lut, undefined !== ovrs || pickExcludesUpdated ? this.target.pickExclusions : undefined, this.target.flashed, undefined !== ovrs || hiliteUpdated ? hilite : undefined, ovrs);
|
|
118735
118751
|
}
|
|
118736
118752
|
this._lastFlashId = flashedId;
|
|
118737
118753
|
}
|
|
@@ -120007,15 +120023,15 @@ class PerTargetBatchData {
|
|
|
120007
120023
|
this._thematicSensors.update(this.target.uniforms.frustum.viewMatrix);
|
|
120008
120024
|
return this._thematicSensors;
|
|
120009
120025
|
}
|
|
120010
|
-
getFeatureOverrides(batch) {
|
|
120026
|
+
getFeatureOverrides(batch, provider) {
|
|
120011
120027
|
const source = this.target.currentFeatureSymbologyOverrides?.source;
|
|
120012
120028
|
let ovrs = this._featureOverrides.get(source);
|
|
120013
120029
|
if (!ovrs) {
|
|
120014
120030
|
const cleanup = source ? source.onSourceDisposed.addOnce(() => this.onSourceDisposed(source)) : undefined;
|
|
120015
120031
|
this._featureOverrides.set(source, ovrs = _FeatureOverrides__WEBPACK_IMPORTED_MODULE_7__.FeatureOverrides.createFromTarget(this.target, batch.options, cleanup));
|
|
120016
|
-
ovrs.initFromMap(batch.featureTable);
|
|
120032
|
+
ovrs.initFromMap(batch.featureTable, provider);
|
|
120017
120033
|
}
|
|
120018
|
-
ovrs.update(batch.featureTable);
|
|
120034
|
+
ovrs.update(batch.featureTable, provider);
|
|
120019
120035
|
return ovrs;
|
|
120020
120036
|
}
|
|
120021
120037
|
getContours(batch) {
|
|
@@ -120082,8 +120098,8 @@ class PerTargetData {
|
|
|
120082
120098
|
getThematicSensors(target) {
|
|
120083
120099
|
return this.getBatchData(target).getThematicSensors(this._batch);
|
|
120084
120100
|
}
|
|
120085
|
-
getFeatureOverrides(target) {
|
|
120086
|
-
return this.getBatchData(target).getFeatureOverrides(this._batch);
|
|
120101
|
+
getFeatureOverrides(target, provider) {
|
|
120102
|
+
return this.getBatchData(target).getFeatureOverrides(this._batch, provider);
|
|
120087
120103
|
}
|
|
120088
120104
|
getContours(target) {
|
|
120089
120105
|
return this.getBatchData(target).getContours(this._batch);
|
|
@@ -120170,8 +120186,8 @@ class Batch extends Graphic {
|
|
|
120170
120186
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(target.plan.thematic.sensorSettings.sensors.length > 0, "must have at least one sensor to process");
|
|
120171
120187
|
return this.perTargetData.getThematicSensors(target);
|
|
120172
120188
|
}
|
|
120173
|
-
getOverrides(target) {
|
|
120174
|
-
return this.perTargetData.getFeatureOverrides(target);
|
|
120189
|
+
getOverrides(target, provider) {
|
|
120190
|
+
return this.perTargetData.getFeatureOverrides(target, provider);
|
|
120175
120191
|
}
|
|
120176
120192
|
getContours(target) {
|
|
120177
120193
|
return this.perTargetData.getContours(target);
|
|
@@ -122916,6 +122932,7 @@ class PlanarClassifier extends _RenderPlanarClassifier__WEBPACK_IMPORTED_MODULE_
|
|
|
122916
122932
|
_planarClipMask;
|
|
122917
122933
|
_classifierTreeRef;
|
|
122918
122934
|
_planarClipMaskOverrides;
|
|
122935
|
+
_overridesDirty = true;
|
|
122919
122936
|
_contentMode = PlanarClassifierContent.None;
|
|
122920
122937
|
_removeMe;
|
|
122921
122938
|
_featureSymbologySource = {
|
|
@@ -123054,14 +123071,17 @@ class PlanarClassifier extends _RenderPlanarClassifier__WEBPACK_IMPORTED_MODULE_
|
|
|
123054
123071
|
this._projectionMatrix = projection.projectionMatrix;
|
|
123055
123072
|
this._frustum = projection.textureFrustum;
|
|
123056
123073
|
this._debugFrustum = projection.debugFrustum;
|
|
123057
|
-
|
|
123074
|
+
if (this._overridesDirty) {
|
|
123075
|
+
this._overridesDirty = false;
|
|
123076
|
+
this._planarClipMaskOverrides = this._planarClipMask?.getPlanarClipMaskSymbologyOverrides(context, this._featureSymbologySource);
|
|
123077
|
+
}
|
|
123058
123078
|
if (!this._planarClipMask?.usingViewportOverrides && this._removeMe) {
|
|
123059
123079
|
this._removeMe();
|
|
123060
123080
|
this._removeMe = undefined;
|
|
123061
123081
|
}
|
|
123062
123082
|
else if (this._planarClipMask?.usingViewportOverrides && !this._removeMe) {
|
|
123063
123083
|
this._removeMe = context.viewport.onFeatureOverridesChanged.addListener(() => {
|
|
123064
|
-
this.
|
|
123084
|
+
this._overridesDirty = true;
|
|
123065
123085
|
context.viewport.requestRedraw();
|
|
123066
123086
|
});
|
|
123067
123087
|
}
|
|
@@ -123190,6 +123210,16 @@ class PlanarClassifier extends _RenderPlanarClassifier__WEBPACK_IMPORTED_MODULE_
|
|
|
123190
123210
|
const getDrawCommands = (graphics) => {
|
|
123191
123211
|
this._batchState.reset();
|
|
123192
123212
|
renderCommands.reset(target, this._branchStack, this._batchState);
|
|
123213
|
+
if (this._planarClipMask?.overridesModelVisibility) {
|
|
123214
|
+
// We're using batched tiles and the mask is overriding which models are visible versus those visible in the view.
|
|
123215
|
+
// We don't want the BatchedTileTreeReference to hide models that belong in the mask.
|
|
123216
|
+
// The target's root branch's symbology overrides are set up correctly for the mask, and we never push branches to the target
|
|
123217
|
+
// (we have a separate branch stack), so just use the root branch as the appearance provider instead of the branch stack.
|
|
123218
|
+
// NOTE: this doesn't work if we're inside a GraphicalEditingScope displaying temporary graphics for some elements, because those
|
|
123219
|
+
// elements are hidden in the tiles by a FeatureAppearanceProvider. But we'll never use a GraphicalEditingScope with batched tiles,
|
|
123220
|
+
// and non-batched tiles never hide models using symbology overrides.
|
|
123221
|
+
renderCommands.appearanceProvider = target.currentBranch;
|
|
123222
|
+
}
|
|
123193
123223
|
renderCommands.collectGraphicsForPlanarProjection(graphics);
|
|
123194
123224
|
// Draw the classifiers into our attachments.
|
|
123195
123225
|
// When using Display.ElementColor, the color and transparency come from the classifier geometry. Therefore we may need to draw the classified geometry
|
|
@@ -123216,8 +123246,10 @@ class PlanarClassifier extends _RenderPlanarClassifier__WEBPACK_IMPORTED_MODULE_
|
|
|
123216
123246
|
this._classifierBuffers.drawHilite(hiliteCommands, target);
|
|
123217
123247
|
}
|
|
123218
123248
|
if (this._maskGraphics.length > 0 && this._maskBuffer) {
|
|
123219
|
-
if (this._planarClipMaskOverrides)
|
|
123249
|
+
if (this._planarClipMaskOverrides) {
|
|
123220
123250
|
target.overrideFeatureSymbology(this._planarClipMaskOverrides);
|
|
123251
|
+
this._branchStack.setSymbologyOverrides(this._planarClipMaskOverrides);
|
|
123252
|
+
}
|
|
123221
123253
|
if (this._planarClipMask && this._planarClipMask.settings.transparency !== undefined && this._planarClipMask.settings.transparency > 0.0)
|
|
123222
123254
|
this._anyTranslucent = true;
|
|
123223
123255
|
this._maskBuffer.draw(getDrawCommands(this._maskGraphics), target);
|
|
@@ -124670,6 +124702,7 @@ class RenderCommands {
|
|
|
124670
124702
|
_translucentOverrides = false;
|
|
124671
124703
|
_addTranslucentAsOpaque = false; // true when rendering for _ReadPixels to force translucent items to be drawn in opaque pass.
|
|
124672
124704
|
_layers;
|
|
124705
|
+
appearanceProvider;
|
|
124673
124706
|
get target() { return this._target; }
|
|
124674
124707
|
[Symbol.iterator]() {
|
|
124675
124708
|
return this._commands[Symbol.iterator]();
|
|
@@ -124716,6 +124749,7 @@ class RenderCommands {
|
|
|
124716
124749
|
this._target = target;
|
|
124717
124750
|
this._stack = stack;
|
|
124718
124751
|
this._batchState = batchState;
|
|
124752
|
+
this.appearanceProvider = undefined;
|
|
124719
124753
|
this.clear();
|
|
124720
124754
|
}
|
|
124721
124755
|
collectGraphicsForPlanarProjection(scene) {
|
|
@@ -125156,7 +125190,7 @@ class RenderCommands {
|
|
|
125156
125190
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(!this._opaqueOverrides && !this._translucentOverrides);
|
|
125157
125191
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined === this._curBatch);
|
|
125158
125192
|
// If all features are overridden to be invisible, draw no graphics in this batch
|
|
125159
|
-
const overrides = batch.getOverrides(this.target);
|
|
125193
|
+
const overrides = batch.getOverrides(this.target, this.appearanceProvider ?? this._stack.top);
|
|
125160
125194
|
if (overrides.allHidden)
|
|
125161
125195
|
return;
|
|
125162
125196
|
if (!batch.range.isNull) {
|
|
@@ -131997,10 +132031,10 @@ class Target extends _render_RenderTarget__WEBPACK_IMPORTED_MODULE_7__.RenderTar
|
|
|
131997
132031
|
return this.isRangeOutsideActiveVolume(range);
|
|
131998
132032
|
}
|
|
131999
132033
|
pushBatch(batch) {
|
|
132000
|
-
this.uniforms.batch.setCurrentBatch(batch);
|
|
132034
|
+
this.uniforms.batch.setCurrentBatch(batch, this.currentBranch);
|
|
132001
132035
|
}
|
|
132002
132036
|
popBatch() {
|
|
132003
|
-
this.uniforms.batch.
|
|
132037
|
+
this.uniforms.batch.clearCurrentBatch();
|
|
132004
132038
|
}
|
|
132005
132039
|
addBatch(batch) {
|
|
132006
132040
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(this._batches.indexOf(batch) < 0);
|
|
@@ -135932,7 +135966,7 @@ function* commandIterator(features, pass) {
|
|
|
135932
135966
|
command.execute(executor);
|
|
135933
135967
|
if (command.opcode !== "pushBatch")
|
|
135934
135968
|
continue;
|
|
135935
|
-
const ovrs = command.batch.getOverrides(features.target);
|
|
135969
|
+
const ovrs = command.batch.getOverrides(features.target, features.target.currentBranch);
|
|
135936
135970
|
if (ovrs.allHidden)
|
|
135937
135971
|
continue;
|
|
135938
135972
|
const scratchFeature = _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.PackedFeature.createWithIndex();
|
|
@@ -318896,7 +318930,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
318896
318930
|
/***/ ((module) => {
|
|
318897
318931
|
|
|
318898
318932
|
"use strict";
|
|
318899
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.2.0-dev.
|
|
318933
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.2.0-dev.23","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers && npm run -s copy:draco","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf -g lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","copy:draco":"cpx \\"./node_modules/draco3d/draco_decoder.wasm\\" ./lib/public","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/eslint-plugin":"5.2.2-dev.2","@types/chai-as-promised":"^7","@types/draco3d":"^1.4.10","@types/sinon":"^17.0.2","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^3.0.6","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"2.2.0","webpack":"^5.97.1"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/cloud-agnostic-core":"^2.2.4","@itwin/object-storage-core":"^2.3.0","@itwin/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^4.3.4","@loaders.gl/draco":"^4.3.4","draco3d":"^1.5.1","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
318900
318934
|
|
|
318901
318935
|
/***/ })
|
|
318902
318936
|
|