mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -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()
|
||||
del self.controls
|
||||
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()
|
||||
|
||||
def getSpeeds(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user