mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 04:13:11 +02:00
Fixed Create App VR grab
This commit is contained in:
parent
4254c19cf6
commit
d1df896d83
1 changed files with 0 additions and 3 deletions
|
@ -2539,7 +2539,6 @@ SelectionDisplay = (function() {
|
||||||
var pickPlanePosition = null;
|
var pickPlanePosition = null;
|
||||||
var pickPlaneNormal = { x: 0, y: 1, z: 0 };
|
var pickPlaneNormal = { x: 0, y: 1, z: 0 };
|
||||||
var greatestDimension = 0.0;
|
var greatestDimension = 0.0;
|
||||||
var startingDistance = 0.0;
|
|
||||||
var startingElevation = 0.0;
|
var startingElevation = 0.0;
|
||||||
addHandleTool(toolEntity, {
|
addHandleTool(toolEntity, {
|
||||||
mode: mode,
|
mode: mode,
|
||||||
|
@ -2581,11 +2580,9 @@ SelectionDisplay = (function() {
|
||||||
greatestDimension = Math.max(Math.max(SelectionManager.worldDimensions.x,
|
greatestDimension = Math.max(Math.max(SelectionManager.worldDimensions.x,
|
||||||
SelectionManager.worldDimensions.y),
|
SelectionManager.worldDimensions.y),
|
||||||
SelectionManager.worldDimensions.z);
|
SelectionManager.worldDimensions.z);
|
||||||
startingDistance = Vec3.distance(pickRay.origin, SelectionManager.position);
|
|
||||||
startingElevation = this.elevation(pickRay.origin, pickPlanePosition);
|
startingElevation = this.elevation(pickRay.origin, pickPlanePosition);
|
||||||
if (wantDebug) {
|
if (wantDebug) {
|
||||||
print(" longest dimension: " + greatestDimension);
|
print(" longest dimension: " + greatestDimension);
|
||||||
print(" starting distance: " + startingDistance);
|
|
||||||
print(" starting elevation: " + startingElevation);
|
print(" starting elevation: " + startingElevation);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue