Add HmdMultiSelection on inworld Selection

Add HmdMultiSelection on inworld Selection
This commit is contained in:
Alezia Kurdis 2020-09-30 00:40:38 -04:00 committed by GitHub
parent 2a0d508bb6
commit 94d030fb5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {