From f2f29d2e604ff47d9744246168b33114bb6b278a Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Tue, 25 Jun 2013 16:58:31 -0700 Subject: [PATCH] Well, I guess OS X doesn't like || and && without parentheses. --- interface/src/Head.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/src/Head.cpp b/interface/src/Head.cpp index 5b1d7bdd5f..48a0caab5e 100644 --- a/interface/src/Head.cpp +++ b/interface/src/Head.cpp @@ -185,8 +185,8 @@ void Head::simulate(float deltaTime, bool isMine) { if (_leftEyeBlinkVelocity == 0.0f && _rightEyeBlinkVelocity == 0.0f) { // no blinking when brows are raised; blink less with increasing loudness const float ROOT_LOUDNESS_TO_BLINK_INTERVAL = 0.75f; - if (forceBlink || _browAudioLift < EPSILON && shouldDo( - sqrtf(_averageLoudness) * ROOT_LOUDNESS_TO_BLINK_INTERVAL, deltaTime)) { + if (forceBlink || (_browAudioLift < EPSILON && shouldDo( + sqrtf(_averageLoudness) * ROOT_LOUDNESS_TO_BLINK_INTERVAL, deltaTime))) { _leftEyeBlinkVelocity = BLINK_SPEED; _rightEyeBlinkVelocity = BLINK_SPEED; }