mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
Add parent and unparent buttons
Add parent and unparent buttons
This commit is contained in:
parent
94d030fb5c
commit
16324ace16
1 changed files with 7 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
|||
|
||||
var PROFILING_ENABLED = false;
|
||||
var profileIndent = '';
|
||||
|
||||
const PROFILE_NOOP = function(_name, fn, args) {
|
||||
fn.apply(this, args);
|
||||
};
|
||||
|
@ -316,6 +317,12 @@ EntityListTool = function(shouldUseEditTabletApp) {
|
|||
undoHistory.undo();
|
||||
} else if (data.type === 'redo') {
|
||||
undoHistory.redo();
|
||||
} else if (data.type === 'parent') {
|
||||
parentSelectedEntities();
|
||||
} else if (data.type === 'unparent') {
|
||||
unparentSelectedEntities();
|
||||
} else if (data.type === 'hmdMultiSelectMode') {
|
||||
hmdMultiSelectMode = data.value;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue