Prechádzať zdrojové kódy

Added back the shortcuts I deleted in the last revision as it was needed by the pirates team.

Abhishek Nath 17 rokov pred
rodič
commit
0924ad835d

+ 2 - 2
direct/src/directtools/DirectCameraControl.py

@@ -45,10 +45,10 @@ class DirectCameraControl(DirectObject):
             ]
         self.keyEvents = [
             ['c', self.centerCamIn, 0.5],
-            # ['f', self.fitOnWidget],                  # Note: This function doesn't work as intended
+            ['f', self.fitOnWidget],                  # Note: This function doesn't work as intended
             ['h', self.homeCam],
             ['shift-v', self.toggleMarkerVis],          
-            # ['m', self.moveToFit],                      # Note: This function doesn't work as intended; the object dissappears and screen flashes
+            ['m', self.moveToFit],                      # Note: This function doesn't work as intended; the object dissappears and screen flashes
             ['n', self.pickNextCOA],
             ['u', self.orbitUprightCam],
             ['shift-u', self.uprightCam],