Browse Source

Added a hotkey for make live feature

Gyedo Jeon 16 years ago
parent
commit
91f365e629

+ 1 - 0
direct/src/directtools/DirectSession.py

@@ -279,6 +279,7 @@ class DirectSession(DirectObject):
             'control-z': ('Undo', 'LE-Undo'),
             'shift-z' : ('Redo', 'LE-Redo'),
             'control-d': ('Duplicate', 'LE-Duplicate'),
+            'control-l': ('Make Live', 'LE-MakeLive'),
             }
 
         self.passThroughKeys = ['v','b','l','p', 'r', 'shift-r', 's', 't','shift-a', 'w'] 

+ 1 - 0
direct/src/leveleditor/LevelEditorBase.py

@@ -122,6 +122,7 @@ class LevelEditorBase(DirectObject):
             ('LE-Redo', self.actionMgr.redo),
             ('LE-Duplicate', self.objectMgr.duplicateSelected),
             ('DIRECT_manipulateObjectCleanup', self.cleanUpManipulating),
+            ('LE-MakeLive', self.objectMgr.makeSelectedLive),
             ])
 
         # Add all the action events