You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FSM object has no attribute 'notifier' in requestNext/requestPrev #1644
Attemping to use FSM.requestNext() or FSM.requestPrev() without calling setStateArray() excepts with AttributeError instead of logging as intended.
Steps to Reproduce
from direct.fsm.FSM import FSM
f = FSM("test")
f.requestNext()
Produces:
File "C:\Panda3D-1.10.14-x64\direct\fsm\FSM.py", line 424, in requestNext
assert self.notifier.debug(
^^^^^^^^^^^^^
AttributeError: 'FSM' object has no attribute 'notifier'
Activity
fsm: Fix "no attribute notifier" error in requestNext/Prev