@idetik/core 0.15.1 → 0.15.2

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/index.js CHANGED
@@ -2616,11 +2616,10 @@ class aQ {
2616
2616
  for (let A = 0; A < this.dimensions_.numLods; ++A) {
2617
2617
  const I = this.dimensions_.c?.lods[A];
2618
2618
  if (!I) continue;
2619
- if (I.scale !== 1)
2620
- throw new Error(
2621
- `ChunkStore does not support scale in c. Found ${I.scale} at LOD ${A}`
2622
- );
2623
- if (I.translation !== 0)
2619
+ if (I.scale !== 1 && U.warn(
2620
+ "ChunkStore",
2621
+ `Idetik does not make use of non-unity scale in c. Found ${I.scale} at LOD ${A}`
2622
+ ), I.translation !== 0)
2624
2623
  throw new Error(
2625
2624
  `ChunkStore does not support translation in c. Found ${I.translation} at LOD ${A}`
2626
2625
  );