mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
*** empty log message ***
This commit is contained in:
parent
caeaf79805
commit
457c73ab21
@ -7,7 +7,7 @@ class FSM(DirectObject):
|
||||
|
||||
# create FSM DirectNotify category
|
||||
notify = directNotify.newCategory("FSM")
|
||||
# notify.setDebug(1)
|
||||
notify.setDebug(1)
|
||||
|
||||
# special methods
|
||||
|
||||
|
@ -38,7 +38,7 @@ class Messenger:
|
||||
"""
|
||||
|
||||
Messenger.notify.debug('object: ' + `object`
|
||||
+ '\n accept: ' + `event`
|
||||
+ '\n now accepting: ' + `event`
|
||||
+ '\n method: ' + `method`
|
||||
+ '\n extraArgs: ' + `extraArgs`
|
||||
+ '\n persistent: ' + `persistent`)
|
||||
@ -52,7 +52,7 @@ class Messenger:
|
||||
It is safe to call even if it was not alread
|
||||
"""
|
||||
|
||||
Messenger.notify.debug(`object` + '\n ignore: ' + `event`)
|
||||
Messenger.notify.debug(`object` + '\n now ignoring: ' + `event`)
|
||||
|
||||
if self.dict.has_key(event):
|
||||
# Find the dictionary of all the objects accepting this event
|
||||
|
@ -18,6 +18,7 @@ import ClockObject
|
||||
import Transitions
|
||||
import Loader
|
||||
import time
|
||||
import FSM
|
||||
|
||||
globalClock = ClockObject.ClockObject.getGlobalClock()
|
||||
|
||||
@ -37,6 +38,8 @@ class ShowBase:
|
||||
self.wantStats = self.config.GetBool('want-stats', 0)
|
||||
|
||||
taskMgr.taskTimerVerbose = self.config.GetBool('task-timer-verbose', 0)
|
||||
fsmDebug = self.config.GetBool('fsm-debug', 0)
|
||||
FSM.FSM.notify.setDebug(fsmDebug)
|
||||
|
||||
self.initialState = NodeAttributes()
|
||||
# Set a default "off color" (i.e. use poly color) for color transitions
|
||||
|
Loading…
x
Reference in New Issue
Block a user