mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
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…
x
Reference in New Issue
Block a user