mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -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):
|
def __init__(self, enable=True):
|
||||||
assert self.notify.debugCall(id(self))
|
assert self.notify.debugCall(id(self))
|
||||||
|
self.inputStateTokens = []
|
||||||
self.controls = {}
|
self.controls = {}
|
||||||
self.currentControls = None
|
self.currentControls = None
|
||||||
self.currentControlsName = None
|
self.currentControlsName = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user