mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 19:52:26 +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 PROFILING_ENABLED = false;
|
||||||
var profileIndent = '';
|
var profileIndent = '';
|
||||||
|
|
||||||
const PROFILE_NOOP = function(_name, fn, args) {
|
const PROFILE_NOOP = function(_name, fn, args) {
|
||||||
fn.apply(this, args);
|
fn.apply(this, args);
|
||||||
};
|
};
|
||||||
|
@ -316,6 +317,12 @@ EntityListTool = function(shouldUseEditTabletApp) {
|
||||||
undoHistory.undo();
|
undoHistory.undo();
|
||||||
} else if (data.type === 'redo') {
|
} else if (data.type === 'redo') {
|
||||||
undoHistory.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