mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
clarify warning message
This commit is contained in:
parent
7a03d33626
commit
61077696b3
@ -177,7 +177,7 @@ class FSM(DirectObject.DirectObject):
|
||||
self.notify.debug("%s.request(%s, %s" % (self.name, request, str(args)[1:]))
|
||||
|
||||
if not self.state:
|
||||
self.notify.warning("rejecting request %s while FSM is in transition." % (request))
|
||||
self.notify.warning("rejecting request %s while FSM is in transition from %s to %s." % (request, self.oldState, self.newState))
|
||||
return None
|
||||
|
||||
func = getattr(self, "filter" + self.state, None)
|
||||
|
Loading…
x
Reference in New Issue
Block a user