History

warnings

SamGondelman committed 9 years ago

Commit 3149c3e1 parent 3c8b9643 files · +3 −12Browse files

Showing the changes to interface/src/scripting/HMDScriptingInterface.cpp (1 of 3 files). Show all

Unified · Split

interface/src/scripting/HMDScriptingInterface.cpp+1−1
@@ -91,7 +91,7 @@ void HMDScriptingInterface::activateHMDHandMouse() { · 90 unmodified lines
9191
9292 void HMDScriptingInterface::deactivateHMDHandMouse() {
9393 QWriteLocker lock(&_hmdHandMouseLock);
94− _hmdHandMouseCount = std::max(--_hmdHandMouseCount, 0);
94+ _hmdHandMouseCount = std::max(_hmdHandMouseCount - 1, 0);
9595 if (_hmdHandMouseCount == 0) {
9696 auto offscreenUi = DependencyManager::get<OffscreenUi>();
9797 offscreenUi->getDesktop()->setProperty("hmdHandMouseActive", false);