mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 15:23:20 +02:00
Add HmdMultiSelection on inworld Selection
Add HmdMultiSelection on inworld Selection
This commit is contained in:
parent
2a0d508bb6
commit
94d030fb5c
1 changed files with 5 additions and 1 deletions
|
@ -104,7 +104,11 @@ SelectionManager = (function() {
|
||||||
if (wantDebug) {
|
if (wantDebug) {
|
||||||
print("setting selection to " + messageParsed.entityID);
|
print("setting selection to " + messageParsed.entityID);
|
||||||
}
|
}
|
||||||
that.setSelections([messageParsed.entityID], that);
|
if (hmdMultiSelectMode) {
|
||||||
|
that.addEntity(messageParsed.entityID, true, that);
|
||||||
|
} else {
|
||||||
|
that.setSelections([messageParsed.entityID], that);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else if (messageParsed.method === "clearSelection") {
|
} else if (messageParsed.method === "clearSelection") {
|
||||||
if (!SelectionDisplay.triggered() || SelectionDisplay.triggeredHand === messageParsed.hand) {
|
if (!SelectionDisplay.triggered() || SelectionDisplay.triggeredHand === messageParsed.hand) {
|
||||||
|
|
Loading…
Reference in a new issue