From 1e9112223a730c976e751b69824864323a829f84 Mon Sep 17 00:00:00 2001 From: liuxianghui <519646741@qq.com> Date: Wed, 18 May 2022 14:55:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E5=A4=B1=E8=B4=A5=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/babylon/controller/scene-manager.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/babylon/controller/scene-manager.ts b/src/app/babylon/controller/scene-manager.ts index 4f1d9fc..ee940df 100644 --- a/src/app/babylon/controller/scene-manager.ts +++ b/src/app/babylon/controller/scene-manager.ts @@ -605,7 +605,7 @@ export class SceneManager { }, function (scene: Scene, message: string, exception?: any) { - + LoadTool.remove(modelData.resPath + modelData.resName); if (index < 5) { let l_index = index + 1; modelInfo.dispose(); @@ -618,7 +618,7 @@ export class SceneManager { } else { modelInfo.dispose(); - LoadTool.remove(modelData.resPath + modelData.resName); + // LoadTool.onEnd(); console.log(message, exception); alert("模型加载失败,请刷新页面重试: " + message + "==" + exception); // alert(exception);