mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
cleanup refs
This commit is contained in:
parent
bd73e2d5f1
commit
3b0b3e20b7
@ -139,6 +139,13 @@ class ControlManager:
|
||||
controls.setWalkSpeed(
|
||||
forwardSpeed, jumpForce, reverseSpeed, rotateSpeed)
|
||||
|
||||
def delete(self):
|
||||
assert self.notify.debugCall(id(self))
|
||||
self.disable()
|
||||
del self.controls
|
||||
del self.currentControls
|
||||
#self.monitorTask.remove()
|
||||
|
||||
def getSpeeds(self):
|
||||
return self.currentControls.getSpeeds()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user