iflow-engine-base 3.4.6 → 3.4.7

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.
@@ -31242,7 +31242,7 @@ function cE(s, e, t) {
31242
31242
  return f.distanceTo(d);
31243
31243
  }
31244
31244
  async function hE(s, e, t, n) {
31245
- t.maxSize < 1e6 && (!(cE(s, s.camera, t) >= 20) || t.status === !0) || (await lE(s, e, t, n), t.loadSuccess === !0 && await aE(s, e, t, n));
31245
+ t.maxSize < 1e6 && t.path != "/lod0" && (!(cE(s, s.camera, t) >= 20) || t.status === !0) || (await lE(s, e, t, n), t.loadSuccess === !0 && await aE(s, e, t, n));
31246
31246
  }
31247
31247
  function uE(s, e, t) {
31248
31248
  if (hm(e.loadStatus.modelMep))
@@ -31280,7 +31280,7 @@ function dE(s, e, t, n) {
31280
31280
  max: new b.Vector3(o.baseInfo.max.X * 0.3048, o.baseInfo.max.Z * 0.3048, -o.baseInfo.max.Y * 0.3048)
31281
31281
  }
31282
31282
  }), s.models.length == n && (s.viewCube.CameraGoHome(1), setTimeout(() => {
31283
- um(s, e, !1);
31283
+ um(s, null, !1);
31284
31284
  }, 100));
31285
31285
  }).catch((r) => {
31286
31286
  console.error("[loadLightModel] failed to load model info", { url: e, error: r });
@@ -31423,7 +31423,7 @@ class _E {
31423
31423
  e.shadow.camera.left = -t, e.shadow.camera.right = t, e.shadow.camera.top = t, e.shadow.camera.bottom = -t, e.shadow.radius = 2;
31424
31424
  const n = new b.DirectionalLight(16777215, 2);
31425
31425
  this.engine.scene.add(e), this.engine.scene.add(n), this.engine.scene.dirLight = n;
31426
- const i = new b.AmbientLight(16777215, 1);
31426
+ const i = new b.AmbientLight(16777215, 2);
31427
31427
  this.engine.scene.add(i);
31428
31428
  }
31429
31429
  }
@@ -32125,13 +32125,13 @@ class SE {
32125
32125
  applyMode(e) {
32126
32126
  switch (e) {
32127
32127
  case "simple":
32128
- this.setShadows(!1), this.setGTAO(!1), this.setSSAO(!1), this.setSaturation(!1), this.setOutputPass(!1), this.setFXAA(!1);
32128
+ this.setShadows(!1), this.setGTAO(!1), this.setSSAO(!1), this.setSaturation(!1), this.setOutputPass(!1), this.setFXAA(!0);
32129
32129
  break;
32130
32130
  case "balance":
32131
32131
  this.setShadows(!0), this.setGTAO(!1), this.setSSAO(!1), this.setSaturation(!1), this.setOutputPass(!1), this.setFXAA(!0);
32132
32132
  break;
32133
32133
  case "advanced":
32134
- this.setShadows(!0), this.setSSAO(!1), this.setGTAO(!0), this.setSaturation(!0), this.setOutputPass(!0), this.setFXAA(!0);
32134
+ this.setShadows(!0), this.setSSAO(!1), this.setGTAO(!0), this.setSaturation(!1), this.setOutputPass(!1), this.setFXAA(!0);
32135
32135
  break;
32136
32136
  default:
32137
32137
  console.warn(`[EngineModelModule] Unknown mode: ${e}`);
@@ -43478,7 +43478,7 @@ class UA {
43478
43478
  // 业务数据
43479
43479
  models = [];
43480
43480
  reactBoundingClientRect = { left: 0, top: 0 };
43481
- version = "3.4.6";
43481
+ version = "3.4.7";
43482
43482
  versionEl = null;
43483
43483
  // 引擎容器
43484
43484
  container;