fixing laser staying on in edit mode

This commit is contained in:
druiz17 2017-10-05 09:11:02 -07:00
parent 9de1ca4e1a
commit 347645329e
2 changed files with 0 additions and 2 deletions
scripts/system
controllers/controllerModules
libraries

View file

@ -408,7 +408,6 @@ Script.include("/~/system/libraries/controllers.js");
this.distanceRotating = false;
if (controllerData.triggerValues[this.hand] > TRIGGER_ON_VALUE) {
this.updateLaserPointer(controllerData);
this.prepareDistanceRotatingData(controllerData);
return makeRunningValues(true, [], []);
} else {

View file

@ -4076,7 +4076,6 @@ SelectionDisplay = (function() {
if (controllerPose.valid && lastControllerPoses[hand].valid) {
if (!Vec3.equal(controllerPose.position, lastControllerPoses[hand].position) ||
!Vec3.equal(controllerPose.rotation, lastControllerPoses[hand].rotation)) {
print("setting controller pose");
that.mouseMoveEvent({});
}
}