diff --git a/direct/src/fsm/FSM.py b/direct/src/fsm/FSM.py index 7f0e435960..057a98b861 100644 --- a/direct/src/fsm/FSM.py +++ b/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: