Browse Source

update comment

David Rose 23 years ago
parent
commit
0bb406b5b4
1 changed files with 6 additions and 0 deletions
  1. 6 0
      direct/src/fsm/FSM.py

+ 6 - 0
direct/src/fsm/FSM.py

@@ -198,6 +198,12 @@ class FSM(DirectObject):
         Return true is transition exists to given state,
         false otherwise.
         """
+
+        # If you trigger this assertion failure, you must have
+        # recursively requested a state transition from within the
+        # exitState() function for the previous state.  This is not
+        # supported because we're not fully transitioned into the new
+        # state yet.
         assert(not self.__internalStateInFlux)
 
         if not self.__currentState: