mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Added hotkey for new LE duplicate function
This commit is contained in:
parent
e3272b9610
commit
dd71475227
@ -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']
|
||||
|
@ -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),
|
||||
])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user