@crystaldesign/real-time-viewer 25.13.0-beta.21 → 25.13.0-beta.22

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.
@@ -586,7 +586,7 @@ function Grids () {
586
586
  type: 'GRID'
587
587
  });
588
588
  var bboxDiff = data.bboxSize.subtract(data.geoSize);
589
- utilStore.moveObjectInDirection(box, new Vector3(1, 0, 0), (shelfIdx * -grid.deltaGrid.x - data.geoPosition.x) / 100 + (data.geoSize.x + bboxDiff.x) / 200 - box.metadata.rulePos.x);
589
+ utilStore.moveObjectInDirection(box, new Vector3(-1, 0, 0), (shelfIdx * grid.deltaGrid.x + data.geoPosition.x) / 100 - (data.geoSize.x + bboxDiff.x) / 200 - box.metadata.rulePos.x);
590
590
  utilStore.moveObjectInDirection(box, new Vector3(0, 1, 0), (shelfIdx * grid.deltaGrid.y + data.geoPosition.y) / 100 + (data.geoSize.y + bboxDiff.y) / 200 - box.metadata.rulePos.y);
591
591
  utilStore.moveObjectInDirection(box, new Vector3(0, 0, 1), (shelfIdx * grid.deltaGrid.z + data.geoPosition.z) / 100 + (data.geoSize.z + bboxDiff.z) / 200 - box.metadata.rulePos.z);
592
592
  Tags.AddTagsTo(box, noDelete ? 'disableDelete' : 'allowDelete');
@@ -4162,6 +4162,7 @@ function useRealTimeRenderData (_ref) {
4162
4162
  }
4163
4163
  function onFirstFrame() {
4164
4164
  var _callbacks$onInitiali2;
4165
+ //sceneStore?.scene?.debugLayer?.show?.();
4165
4166
  sceneStore.isInitializing = false;
4166
4167
  sceneStore.scene.onAfterRenderObservable.removeCallback(onFirstFrame);
4167
4168
  if (!overlayImage && !disableToggleLoading) actions.toggleLoading('buildScene', false, false);
@@ -1 +1 @@
1
- {"version":3,"file":"useRealTimeRenderData.d.ts","sourceRoot":"","sources":["../../../../src/useRealTimeRenderData.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAMhC,OAAO,8BAA8B,CAAC;AAUtC,MAAM,CAAC,OAAO,WAAW,EACvB,GAAG,EACH,SAAS,EACT,SAAS,EACT,SAAS,EACT,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,oBAAoB,EACpB,SAAS,EACT,QAAQ,EACR,kBAAkB,EAClB,QAAQ,EACR,oBAAoB,GACrB,EAAE,KAAK;;EAyPP"}
1
+ {"version":3,"file":"useRealTimeRenderData.d.ts","sourceRoot":"","sources":["../../../../src/useRealTimeRenderData.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAMhC,OAAO,8BAA8B,CAAC;AAUtC,MAAM,CAAC,OAAO,WAAW,EACvB,GAAG,EACH,SAAS,EACT,SAAS,EACT,SAAS,EACT,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,oBAAoB,EACpB,SAAS,EACT,QAAQ,EACR,kBAAkB,EAClB,QAAQ,EACR,oBAAoB,GACrB,EAAE,KAAK;;EA0PP"}