mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
default inputStateTokens in case controlManager is deleted before ever enabled
This commit is contained in:
parent
ab3b45eb59
commit
eb08ce9e17
@ -23,6 +23,7 @@ class ControlManager:
|
||||
|
||||
def __init__(self, enable=True):
|
||||
assert self.notify.debugCall(id(self))
|
||||
self.inputStateTokens = []
|
||||
self.controls = {}
|
||||
self.currentControls = None
|
||||
self.currentControlsName = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user