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