clearing sceneGraphUI panel after File->New
This commit is contained in:
parent
89749f91a6
commit
447684ec4e
|
|
@ -149,6 +149,7 @@ class LevelEditorUI(WxAppShell):
|
|||
|
||||
def onNew(self, evt):
|
||||
self.editor.reset()
|
||||
self.sceneGraphUI.reset()
|
||||
|
||||
def onLoad(self, evt):
|
||||
dialog = wx.FileDialog(None, "Choose a file", os.getcwd(), "", "*.py", wx.OPEN)
|
||||
|
|
|
|||
Loading…
Reference in New Issue