mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
pass args to enter func when transitioning out of Off
This commit is contained in:
parent
dc78382904
commit
fbf95c3f95
@ -224,7 +224,7 @@ class FSM(DirectObject.DirectObject):
|
||||
"""From the off state, we can always go directly to any other
|
||||
state."""
|
||||
if request[0] in string.uppercase:
|
||||
return request
|
||||
return (request,) + args
|
||||
return self.defaultFilter(request, args)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user