mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 02:13:28 +02:00
fixing laser staying on in edit mode
This commit is contained in:
parent
9de1ca4e1a
commit
347645329e
2 changed files with 0 additions and 2 deletions
scripts/system
|
@ -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 {
|
||||
|
|
|
@ -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({});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue