Always disabled camera control

This commit is contained in:
Mark Mine 2003-11-12 06:42:11 +00:00
parent 59f8e69e74
commit a6cd86e1c6

View File

@ -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()