From 0bb406b5b4e29e709551471662cc80b502939a9c Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 4 Sep 2002 21:00:49 +0000 Subject: [PATCH] update comment --- direct/src/fsm/FSM.py | 6 ++++++ 1 file changed, 6 insertions(+) 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: