mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 19:14:59 +02:00
Remove debug prints.
This commit is contained in:
parent
f52b096bb9
commit
03058775f6
1 changed files with 0 additions and 2 deletions
|
@ -396,7 +396,6 @@ Script.include("/~/system/libraries/controllers.js");
|
|||
this.run = function (controllerData) {
|
||||
//if (controllerData.triggerValues[this.hand] < TRIGGER_OFF_VALUE || this.targetIsNull()) {
|
||||
if (this.shouldCancel() || this.targetIsNull()) {
|
||||
print("Canceling...");
|
||||
this.endFarGrabEntity(controllerData);
|
||||
return makeRunningValues(false, [], []);
|
||||
}
|
||||
|
@ -444,7 +443,6 @@ Script.include("/~/system/libraries/controllers.js");
|
|||
var rayPickInfo = controllerData.rayPicks[this.hand];
|
||||
if (rayPickInfo.type === Picks.INTERSECTED_ENTITY) {
|
||||
if (this.shouldGrab()) {
|
||||
print("Grabbing...");
|
||||
var entityID = rayPickInfo.objectID;
|
||||
var targetProps = Entities.getEntityProperties(entityID, DISPATCHER_PROPERTIES);
|
||||
if (targetProps.href !== "") {
|
||||
|
|
Loading…
Reference in a new issue