@crystaldesign/real-time-viewer 24.14.0-beta.37 → 24.14.0-beta.38
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/build/esm/index.js
CHANGED
|
@@ -396,7 +396,9 @@ function Grids () {
|
|
|
396
396
|
var grid = gridsForElement.grids.find(function (grid) {
|
|
397
397
|
return grid.gridName == gridName;
|
|
398
398
|
});
|
|
399
|
-
if (!grid)
|
|
399
|
+
if (!grid) {
|
|
400
|
+
throw new Error('Could not find grid with name: ' + gridName);
|
|
401
|
+
}
|
|
400
402
|
for (var shelfIdx = 0; shelfIdx < grid.count; shelfIdx++) {
|
|
401
403
|
if (!freeGrid.freeCells.includes(shelfIdx)) continue;
|
|
402
404
|
createGrid({
|
|
@@ -3168,19 +3170,20 @@ function shadow() {
|
|
|
3168
3170
|
var parser = /*#__PURE__*/function () {
|
|
3169
3171
|
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
3170
3172
|
var _changedElements$upda;
|
|
3171
|
-
var sceneStore, hasRendered, hqRenderScript, scene, cache, changedElements, utilStore, _yield$findAssets, cacheGroup, newCache, _changedElements$upda2;
|
|
3173
|
+
var sceneStore, hasRendered, hqRenderScript, scene, cache, changedElements, utilStore, uiStore, _yield$findAssets, cacheGroup, newCache, _changedElements$upda2;
|
|
3172
3174
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
3173
3175
|
while (1) switch (_context.prev = _context.next) {
|
|
3174
3176
|
case 0:
|
|
3175
3177
|
sceneStore = useSceneStoreContext();
|
|
3176
3178
|
hasRendered = sceneStore.hasRendered, hqRenderScript = sceneStore.hqRenderScript, scene = sceneStore.scene, cache = sceneStore.cache, changedElements = sceneStore.changedElements;
|
|
3177
|
-
utilStore = useUtilStoreContext();
|
|
3179
|
+
utilStore = useUtilStoreContext();
|
|
3180
|
+
uiStore = useUIStoreContext(); //disable elementrows from old cache
|
|
3178
3181
|
changedElements === null || changedElements === void 0 || (_changedElements$upda = changedElements.updatedElements) === null || _changedElements$upda === void 0 || _changedElements$upda.forEach(function (el) {
|
|
3179
3182
|
return utilStore.disableElementRows(el.name, cache);
|
|
3180
3183
|
});
|
|
3181
|
-
_context.next =
|
|
3184
|
+
_context.next = 7;
|
|
3182
3185
|
return findAssets(hqRenderScript.assets, cache);
|
|
3183
|
-
case
|
|
3186
|
+
case 7:
|
|
3184
3187
|
_yield$findAssets = _context.sent;
|
|
3185
3188
|
cacheGroup = _yield$findAssets.cacheGroup;
|
|
3186
3189
|
newCache = _yield$findAssets.newCache;
|
|
@@ -3217,8 +3220,8 @@ var parser = /*#__PURE__*/function () {
|
|
|
3217
3220
|
}
|
|
3218
3221
|
utilStore.setRTVAnalyzeData();
|
|
3219
3222
|
deacCache(cacheGroup);
|
|
3220
|
-
updateCam(hqRenderScript.cams[0], scene);
|
|
3221
|
-
case
|
|
3223
|
+
if (uiStore.unityCombActive) updateCam(hqRenderScript.cams[0], scene);
|
|
3224
|
+
case 15:
|
|
3222
3225
|
case "end":
|
|
3223
3226
|
return _context.stop();
|
|
3224
3227
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/grids/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAKnD,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAG7D,OAAO,yCAAyC,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAQ,MAAM,gBAAgB,CAAC;AAEhD,MAAM,CAAC,OAAO;kCAUyB,QAAQ,EAAE,wBAAwB,oBAAoB,EAAE,sBAAsB,iBAAiB,EAAE;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/grids/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAKnD,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAG7D,OAAO,yCAAyC,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAQ,MAAM,gBAAgB,CAAC;AAEhD,MAAM,CAAC,OAAO;kCAUyB,QAAQ,EAAE,wBAAwB,oBAAoB,EAAE,sBAAsB,iBAAiB,EAAE;wBA6L3G,IAAI;;EAwBhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/parser/index.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/parser/index.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,MAAM,qBAsCX,CAAC;AAEF,eAAe,MAAM,CAAC"}
|