mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Added a hotkey for make live feature
This commit is contained in:
parent
f8d731e922
commit
91f365e629
@ -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']
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user