From 5cb585aec34bdc36245fadf8e39906ef8481fc1a Mon Sep 17 00:00:00 2001 From: "James B. Pollack" Date: Wed, 6 Jul 2016 15:25:01 -0700 Subject: [PATCH] remove debug prints --- scripts/system/controllers/teleport.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scripts/system/controllers/teleport.js b/scripts/system/controllers/teleport.js index caa898dd76..2345ac7384 100644 --- a/scripts/system/controllers/teleport.js +++ b/scripts/system/controllers/teleport.js @@ -29,7 +29,6 @@ function ThumbPad(hand) { var _this = this; this.buttonPress = function(value) { - print('jbp pad press: ' + value + " on: " + _this.hand) _this.buttonValue = value; }; @@ -62,14 +61,11 @@ function Teleporter() { this.updateConnected = null; this.initialize = function() { - print('jbp initialize') this.createMappings(); this.disableGrab(); }; this.createTargetOverlay = function() { - print('creating target overlay') - var targetOverlayProps = { url: TARGET_MODEL_URL, @@ -81,7 +77,6 @@ function Teleporter() { }; this.createMappings = function() { - print('jbp create mappings internal'); // peek at the trigger and thumbs to store their values teleporter.telporterMappingInternalName = 'Hifi-Teleporter-Internal-Dev-' + Math.random(); teleporter.teleportMappingInternal = Controller.newMapping(teleporter.telporterMappingInternalName); @@ -90,7 +85,6 @@ function Teleporter() { }; this.disableMappings = function() { - print('jbp disable mappings internal') Controller.disableMapping(teleporter.telporterMappingInternalName); }; @@ -99,7 +93,6 @@ function Teleporter() { return; } - print('jbp hand on entering teleport mode: ' + hand); inTeleportMode = true; this.teleportHand = hand; this.initialize(); @@ -199,7 +192,6 @@ function Teleporter() { } this.exitTeleportMode = function(value) { - print('jbp value on exit: ' + value); Script.update.disconnect(this.update); this.updateConnected = null; this.disableMappings(); @@ -363,8 +355,6 @@ function Teleporter() { }; this.leftLineOn = function(closePoint, farPoint, color) { - // draw a line - print('COLOR ON LINE : ' + JSON.stringify(color)) if (this.leftOverlayLine === null) { var lineProperties = { ignoreRayIntersection: true, // always ignore this @@ -437,7 +427,6 @@ function Teleporter() { this.teleport = function(value) { - print('TELEPORT CALLED'); if (_this.intersection !== null) { var offset = getAvatarFootOffset();