*** empty log message ***

This commit is contained in:
Joe Shochet 2001-03-09 18:56:22 +00:00
parent caeaf79805
commit 457c73ab21
3 changed files with 6 additions and 3 deletions

View File

@ -7,7 +7,7 @@ class FSM(DirectObject):
# create FSM DirectNotify category
notify = directNotify.newCategory("FSM")
# notify.setDebug(1)
notify.setDebug(1)
# special methods

View File

@ -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

View File

@ -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