mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-14 01:07:12 +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) {
|
||||
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") {
|
||||
if (!SelectionDisplay.triggered() || SelectionDisplay.triggeredHand === messageParsed.hand) {
|
||||
|
|
Loading…
Reference in a new issue