mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 19:14:59 +02:00
Support for "Rotate as the Next Clicked Surface"
Support for "Rotate as the Next Clicked Surface" Add "surfaceNormal" in the returned data.
This commit is contained in:
parent
bc3cf98444
commit
1ce338d972
1 changed files with 5 additions and 1 deletions
|
@ -2,6 +2,9 @@
|
|||
|
||||
// inEditMode.js
|
||||
//
|
||||
// Copyright 2014 High Fidelity, Inc.
|
||||
// Copyright 2020 Vircadia contributors.
|
||||
//
|
||||
// Distributed under the Apache License, Version 2.0.
|
||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
|
||||
|
@ -80,7 +83,8 @@ Script.include("/~/system/libraries/utils.js");
|
|||
Messages.sendLocalMessage(this.ENTITY_TOOL_UPDATES_CHANNEL, JSON.stringify({
|
||||
method: "selectEntity",
|
||||
entityID: this.selectedTarget.objectID,
|
||||
hand: hand
|
||||
hand: hand,
|
||||
surfaceNormal: this.selectedTarget.surfaceNormal
|
||||
}));
|
||||
} else if (this.selectedTarget.type === Picks.INTERSECTED_OVERLAY) {
|
||||
Messages.sendLocalMessage(this.ENTITY_TOOL_UPDATES_CHANNEL, JSON.stringify({
|
||||
|
|
Loading…
Reference in a new issue