From 89d93ee56db5022b6caa860ab0715f3b9c5ec915 Mon Sep 17 00:00:00 2001 From: Mike Moody Date: Thu, 11 May 2017 04:16:22 -0700 Subject: [PATCH] Updated HMD grab Clone to work with all entity types. --- scripts/system/libraries/entitySelectionTool.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/system/libraries/entitySelectionTool.js b/scripts/system/libraries/entitySelectionTool.js index 3e4b8d8518..3389ab0836 100644 --- a/scripts/system/libraries/entitySelectionTool.js +++ b/scripts/system/libraries/entitySelectionTool.js @@ -2162,6 +2162,12 @@ SelectionDisplay = (function() { position: FAR }); + Overlays.editOverlay(grabberCloner, { + visible: true, + rotation: rotation, + position: EdgeTR + }); + var boxPosition = Vec3.multiplyQbyV(rotation, center); boxPosition = Vec3.sum(position, boxPosition); Overlays.editOverlay(selectionBox, { @@ -2318,11 +2324,6 @@ SelectionDisplay = (function() { }, rotation: Quat.fromPitchYawRollDegrees(90, 0, 0), }); - Overlays.editOverlay(grabberCloner, { - visible: stretchHandlesVisible, - rotation: rotation, - position: RIGHT - }); };