Sfoglia il codice sorgente

*** empty log message ***

Joe Shochet 24 anni fa
parent
commit
c18727240d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      direct/src/fsm/FSM.py

+ 1 - 1
direct/src/fsm/FSM.py

@@ -212,7 +212,7 @@ class FSM(DirectObject):
         # are we already in this state?
         # are we already in this state?
         elif (aStateName == self.__currentState.getName()):
         elif (aStateName == self.__currentState.getName()):
             FSM.notify.debug("[%s]: already in state %s and no self transition" %
             FSM.notify.debug("[%s]: already in state %s and no self transition" %
-                             (aStateName))
+                             (self.__name, aStateName))
             return 0
             return 0
         else:
         else:
             FSM.notify.warning("[%s]: no transition exists from %s to %s" %
             FSM.notify.warning("[%s]: no transition exists from %s to %s" %