@woosh/meep-engine 2.43.8 → 2.43.9

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.
@@ -145,7 +145,9 @@ export class GLTFAssetTransformer extends AssetTransformer {
145
145
  geometry[MICRON_GEOMETRY_FIELD] = micron_geometry;
146
146
 
147
147
  // push data into cache
148
- this.__cache.set(geometry, micron_geometry);
148
+ if (this.__cache !== undefined) {
149
+ this.__cache.set(geometry, micron_geometry);
150
+ }
149
151
  }
150
152
 
151
153
 
@@ -2,17 +2,6 @@ import { EnginePlugin } from "../../../plugin/EnginePlugin.js";
2
2
  import { VGThreeRenderer } from "../render/v1/VGThreeRenderer.js";
3
3
  import { RenderLayer } from "../../render/layers/RenderLayer.js";
4
4
  import { RenderPassType } from "../../render/RenderPassType.js";
5
- import { Cache } from "../../../../core/cache/Cache.js";
6
- import { computeGeometryHash } from "../../geometry/buffered/computeGeometryHash.js";
7
- import { computeGeometryEquality } from "../../geometry/buffered/computeGeometryEquality.js";
8
- import { CachedAsyncMap } from "../../../../core/collection/map/CachedAsyncMap.js";
9
- import { AsyncRemoteHashMap } from "../../../../core/collection/map/AsyncRemoteHashMap.js";
10
- import { BufferGeometrySerializationAdapter } from "./serialization/BufferGeometrySerializationAdapter.js";
11
- import {
12
- MicronGeometryBinarySerializationAdapter
13
- } from "../format/serialization/MicronGeometryBinarySerializationAdapter.js";
14
- import { AsyncMapWrapper } from "../../../../core/collection/map/AsyncMapWrapper.js";
15
- import { MicronGeometry } from "../format/MicronGeometry.js";
16
5
  import { ArrayBufferLoader } from "../../../asset/loaders/ArrayBufferLoader.js";
17
6
  import { ASSET_TYPE_ARRAY_BUFFER, GLTFAssetTransformer } from "./GLTFAssetTransformer.js";
18
7
  import { ShadedGeometrySystem } from "../../ecs/mesh-v2/ShadedGeometrySystem.js";
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "productName": "Meep",
6
6
  "description": "production-ready JavaScript game engine based on Entity Component System Architecture",
7
7
  "author": "Alexander Goldring",
8
- "version": "2.43.8",
8
+ "version": "2.43.9",
9
9
  "dependencies": {
10
10
  "gl-matrix": "3.4.3",
11
11
  "fast-levenshtein": "2.0.6",