view3d-core 1.1.8 → 1.1.10

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.
@@ -4954,7 +4954,7 @@ exports.AnimationPlugin = class extends B {
4954
4954
  super({ ...Mn, ...e4 }), this.name = "loader", this.fontCache = /* @__PURE__ */ new Map();
4955
4955
  }
4956
4956
  onInstall() {
4957
- this.dracoLoader = new s.DRACOLoader(), this.dracoLoader.setDecoderPath(this.config.dracoPath), this.dracoLoader.setDecoderConfig({ type: "js" }), this.dracoLoader.setWorkerLimit(0), this.dracoLoader.preload(), this.gltfLoader = new o.GLTFLoader(), this.config.useDraco && this.gltfLoader.setDRACOLoader(this.dracoLoader), this.fbxLoader = new r.FBXLoader(), this.objLoader = new i.OBJLoader(), this.mtlLoader = new a.MTLLoader(), this.textureLoader = new t.TextureLoader(), this.cubeTextureLoader = new t.CubeTextureLoader(), this.fontLoader = new l.FontLoader();
4957
+ this.dracoLoader = new s.DRACOLoader(), this.dracoLoader.setDecoderPath(this.config.dracoPath), this.dracoLoader.setWorkerLimit(1), this.dracoLoader.setDecoderConfig({ type: "js" }), this.dracoLoader.preload(), this.gltfLoader = new o.GLTFLoader(), this.config.useDraco && this.gltfLoader.setDRACOLoader(this.dracoLoader), this.fbxLoader = new r.FBXLoader(), this.objLoader = new i.OBJLoader(), this.mtlLoader = new a.MTLLoader(), this.textureLoader = new t.TextureLoader(), this.cubeTextureLoader = new t.CubeTextureLoader(), this.fontLoader = new l.FontLoader();
4958
4958
  }
4959
4959
  onUninstall() {
4960
4960
  this.dracoLoader.dispose(), this.fontCache.clear();
@@ -6178,4 +6178,4 @@ ${n2.fragFunc || ""}`), e5.fragmentShader = e5.fragmentShader.replace("vec4 diff
6178
6178
  const o2 = No((n2 - e4) / (t2 - e4), 0, 1);
6179
6179
  return o2 * o2 * (3 - 2 * o2);
6180
6180
  };
6181
- //# sourceMappingURL=SceneConfigPlugin-DDYDHSPw.cjs.map
6181
+ //# sourceMappingURL=SceneConfigPlugin-COseIMiE.cjs.map