endset_three_editor 0.10.16 → 0.10.17

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.
@@ -5859,9 +5859,7 @@ async function wl(r, e = "edit", t, n, s, i, o) {
5859
5859
  f ? (C.scene.environment = f, C.scene.environmentIntensity = 1, console.warn("[导入] 原环境贴图不可用,已重新生成")) : console.error("[导入] 环境贴图生成失败,场景将没有 IBL 间接光照,模型会偏暗");
5860
5860
  }
5861
5861
  bi(p);
5862
- const w = p.children.find(
5863
- (f) => f.type === "Group" && f.name === "sl_scene"
5864
- );
5862
+ const w = p.children.find((f) => f.name === "sl_scene");
5865
5863
  if (w) {
5866
5864
  w.updateMatrixWorld();
5867
5865
  const v = w.matrixWorld.elements.every((O, T) => Math.abs(O - (T % 5 === 0 ? 1 : 0)) < 1e-6), D = w.matrixWorld.clone();