mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 07:47:30 +02:00
reduce log spam
This commit is contained in:
parent
ed3950c5d7
commit
53956c8210
1 changed files with 6 additions and 2 deletions
|
@ -186,7 +186,9 @@ function updateSeeking() {
|
|||
averageMouseVelocity = lastIntegration = 0;
|
||||
var lookAt2D = HMD.getHUDLookAtPosition2D();
|
||||
if (!lookAt2D) {
|
||||
print('Cannot seek without lookAt position');
|
||||
// FIXME - determine if this message is useful but make it so it doesn't spam the
|
||||
// log in the case that it is happening
|
||||
//print('Cannot seek without lookAt position');
|
||||
return;
|
||||
} // E.g., if parallel to location in HUD
|
||||
var copy = Reticle.position;
|
||||
|
@ -420,7 +422,9 @@ function update() {
|
|||
|
||||
var hudPoint3d = calculateRayUICollisionPoint(controllerPosition, controllerDirection);
|
||||
if (!hudPoint3d) {
|
||||
print('Controller is parallel to HUD');
|
||||
// FIXME - determine if this message is useful but make it so it doesn't spam the
|
||||
// log in the case that it is happening
|
||||
//print('Controller is parallel to HUD');
|
||||
return turnOffVisualization();
|
||||
}
|
||||
var hudPoint2d = overlayFromWorldPoint(hudPoint3d);
|
||||
|
|
Loading…
Reference in a new issue