mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:29:32 +02:00
Update whiteboardEntityScript.js
Removed logging
This commit is contained in:
parent
08a64f6a6b
commit
7e8b692499
1 changed files with 1 additions and 3 deletions
|
@ -90,9 +90,7 @@
|
||||||
y: this.currentStrokeWidth
|
y: this.currentStrokeWidth
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
print("TRIGGER VALUE " + this.triggerValue);
|
|
||||||
if (this.triggerValue > PAINT_TRIGGER_THRESHOLD) {
|
if (this.triggerValue > PAINT_TRIGGER_THRESHOLD) {
|
||||||
print("PAINT")
|
|
||||||
this.paint(this.intersection.intersection, this.intersection.surfaceNormal);
|
this.paint(this.intersection.intersection, this.intersection.surfaceNormal);
|
||||||
} else {
|
} else {
|
||||||
this.painting = false;
|
this.painting = false;
|
||||||
|
@ -254,4 +252,4 @@
|
||||||
|
|
||||||
// entity scripts always need to return a newly constructed object of our type
|
// entity scripts always need to return a newly constructed object of our type
|
||||||
return new Whiteboard();
|
return new Whiteboard();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue