mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
*** empty log message ***
This commit is contained in:
parent
312f7352af
commit
59a57c9f94
@ -7,6 +7,7 @@ class FSM(DirectObject):
|
||||
|
||||
# create FSM DirectNotify category
|
||||
notify = directNotify.newCategory("FSM")
|
||||
notify.setDebug(1)
|
||||
|
||||
# special methods
|
||||
|
||||
|
@ -20,7 +20,7 @@ class FSMInspector(AppShell):
|
||||
def __init__(self, fsm, **kw):
|
||||
INITOPT = Pmw.INITOPT
|
||||
optiondefs = (
|
||||
('title', self.appname, None),
|
||||
('title', fsm.getName(), None),
|
||||
('gridSize', '0.25i', self._setGridSize),
|
||||
)
|
||||
self.defineoptions(kw, optiondefs)
|
||||
@ -424,6 +424,8 @@ class StateInspector(Pmw.MegaArchetype):
|
||||
|
||||
def inspectSubMachine(self):
|
||||
print 'inspect ' + self.tag + ' subMachine'
|
||||
for childFSM in self.state.getChildren():
|
||||
FSMInspector(childFSM)
|
||||
|
||||
def enteredState(self):
|
||||
self._canvas.itemconfigure(self.marker, fill = 'Red')
|
||||
|
Loading…
x
Reference in New Issue
Block a user