mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -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
|
"""From the off state, we can always go directly to any other
|
||||||
state."""
|
state."""
|
||||||
if request[0] in string.uppercase:
|
if request[0] in string.uppercase:
|
||||||
return request
|
return (request,) + args
|
||||||
return self.defaultFilter(request, args)
|
return self.defaultFilter(request, args)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user