mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
ignore watches upon delete so we do not have hooks leftover after we cleanup the local avatar
This commit is contained in:
parent
22374c375a
commit
d9477e365a
@ -207,6 +207,19 @@ class ControlManager:
|
|||||||
self.disable()
|
self.disable()
|
||||||
del self.controls
|
del self.controls
|
||||||
del self.currentControls
|
del self.currentControls
|
||||||
|
|
||||||
|
inputState.ignore("forward")
|
||||||
|
inputState.ignore("reverse")
|
||||||
|
inputState.ignore("turnLeft")
|
||||||
|
inputState.ignore("turnRight")
|
||||||
|
inputState.ignore("jump")
|
||||||
|
inputState.ignore("slideLeft")
|
||||||
|
inputState.ignore("slideRight")
|
||||||
|
inputState.ignore("levitateUp")
|
||||||
|
inputState.ignore("levitateDown")
|
||||||
|
inputState.ignore("run")
|
||||||
|
inputState.ignore("slide")
|
||||||
|
|
||||||
#self.monitorTask.remove()
|
#self.monitorTask.remove()
|
||||||
|
|
||||||
def getSpeeds(self):
|
def getSpeeds(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user