mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-02-01 16:08:17 +00:00
修复载入场景时未清空场景bug。
This commit is contained in:
parent
00030631a5
commit
bf9b229359
@ -189,6 +189,7 @@ SceneWindow.prototype.loadScene = function (data) {
|
||||
UI.get('sceneWindow').hide();
|
||||
}
|
||||
|
||||
editor.clear();
|
||||
(new Converter()).fromJson(this.app, obj.Data);
|
||||
|
||||
editor.sceneID = data.ID;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user