Added a hotkey for make live feature

This commit is contained in:
Gyedo Jeon 2010-02-24 22:55:18 +00:00
parent f8d731e922
commit 91f365e629
2 changed files with 2 additions and 0 deletions

View File

@ -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']

View File

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