Added hotkey for new LE duplicate function

This commit is contained in:
Gyedo Jeon 2010-02-22 22:42:35 +00:00
parent e3272b9610
commit dd71475227
2 changed files with 2 additions and 0 deletions

View File

@ -264,6 +264,7 @@ class DirectSession(DirectObject):
'w': ('Toggle Wireframe', 'base.toggleWireframe()', 0),
'control-z': ('Undo', 0, 'LE-Undo'),
'shift-z' : ('Redo', 0, 'LE-Redo'),
'control-d': ('Duplicate', 0, 'LE-Duplicate'),
}
self.passThroughKeys = ['v','b','l','p', 'r', 'shift-r', 's', 't','shift-a', 'w']

View File

@ -120,6 +120,7 @@ class LevelEditorBase(DirectObject):
('DIRECT_deselectAll', self.deselectAll),
('LE-Undo', self.actionMgr.undo),
('LE-Redo', self.actionMgr.redo),
('LE-Duplicate', self.objectMgr.duplicateSelected),
('DIRECT_manipulateObjectCleanup', self.cleanUpManipulating),
])