mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -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):
|
def onNew(self, evt):
|
||||||
self.editor.reset()
|
self.editor.reset()
|
||||||
|
self.sceneGraphUI.reset()
|
||||||
|
|
||||||
def onLoad(self, evt):
|
def onLoad(self, evt):
|
||||||
dialog = wx.FileDialog(None, "Choose a file", os.getcwd(), "", "*.py", wx.OPEN)
|
dialog = wx.FileDialog(None, "Choose a file", os.getcwd(), "", "*.py", wx.OPEN)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user