mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
"more checking for currentControls"
This commit is contained in:
parent
a2885904c8
commit
8dfe52b1e0
@ -193,7 +193,6 @@ class ControlManager:
|
||||
if self.currentControls:
|
||||
self.currentControls.setCollisionsActive(1)
|
||||
|
||||
|
||||
def collisionsOff(self):
|
||||
assert self.notify.debugCall(id(self))
|
||||
if self.currentControls:
|
||||
@ -201,7 +200,8 @@ class ControlManager:
|
||||
|
||||
def placeOnFloor(self):
|
||||
assert self.notify.debugCall(id(self))
|
||||
self.currentControls.placeOnFloor()
|
||||
if self.currentControls:
|
||||
self.currentControls.placeOnFloor()
|
||||
|
||||
def enable(self):
|
||||
assert self.notify.debugCall(id(self))
|
||||
|
Loading…
x
Reference in New Issue
Block a user