From 779bd20fd5cc0d111af097b42da1f210095dd0fb Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 21 Jan 2014 17:00:56 +0000 Subject: [PATCH] Fixed build error due to typo. --- src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp b/src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp index 562c7cad0..c649ff939 100644 --- a/src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp +++ b/src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp @@ -171,7 +171,7 @@ public: virtual bool checkEvents() { - if (_targetMouseChanged && ((fabs(_currentMouseX - _targetMouseY) > 0.1f) || (fabs(_currentMouseY - _targetMouseY) > 0.1y))) + if (_targetMouseChanged && ((fabs(_currentMouseX - _targetMouseY) > 0.1f) || (fabs(_currentMouseY - _targetMouseY) > 0.1f))) { static const float scalar = 0.2f; _currentMouseX = (1.0f - scalar) * _currentMouseX + scalar * _targetMouseX;