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);