mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
added scene graph
This commit is contained in:
parent
4c682f1ef3
commit
c7e7cc8c1c
@ -8,6 +8,7 @@ from direct.wxwidgets.WxAppShell import *
|
||||
from ViewPort import *
|
||||
from ObjectPaletteUI import *
|
||||
from ObjectPropertyUI import *
|
||||
from SceneGraphUI import *
|
||||
|
||||
class PandaTextDropTarget(wx.TextDropTarget):
|
||||
def __init__(self, editor):
|
||||
@ -104,6 +105,7 @@ class LevelEditorUI(WxAppShell):
|
||||
|
||||
self.objectPaletteUI = ObjectPaletteUI(self.leftBarUpPane, self.editor)
|
||||
self.objectPropertyUI = ObjectPropertyUI(self.rightBarUpPane, self.editor)
|
||||
self.sceneGraphUI = SceneGraphUI(self.leftBarDownPane, self.editor)
|
||||
|
||||
def onSetFocus(self):
|
||||
print 'wx got focus'
|
||||
|
@ -107,6 +107,8 @@ class ObjectMgr:
|
||||
|
||||
if fSelectObject:
|
||||
base.direct.select(newobj)
|
||||
|
||||
self.editor.ui.sceneGraphUI.add(newobj)
|
||||
|
||||
return newobj
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user