mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
Always disabled camera control
This commit is contained in:
parent
59f8e69e74
commit
a6cd86e1c6
@ -218,9 +218,8 @@ class DirectSession(PandaObject):
|
|||||||
def disable(self):
|
def disable(self):
|
||||||
# Shut down all display region context tasks
|
# Shut down all display region context tasks
|
||||||
self.drList.removeContextTask()
|
self.drList.removeContextTask()
|
||||||
if not self.fEnabledLight:
|
# Turn off camera fly
|
||||||
# Turn off camera fly
|
self.cameraControl.disableMouseFly()
|
||||||
self.cameraControl.disableMouseFly()
|
|
||||||
# Turn off object manipulation
|
# Turn off object manipulation
|
||||||
self.deselectAll()
|
self.deselectAll()
|
||||||
self.manipulationControl.disableManipulation()
|
self.manipulationControl.disableManipulation()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user