From b01b14485491fcb3962d75839657c9cfc24c4b15 Mon Sep 17 00:00:00 2001 From: Kai Ludwig Date: Wed, 14 May 2014 07:36:27 +0200 Subject: [PATCH] No more hand movement when clicking with the mouse. --- interface/src/avatar/MyAvatar.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/interface/src/avatar/MyAvatar.cpp b/interface/src/avatar/MyAvatar.cpp index 36c51dc9fd..20e4bcc44e 100644 --- a/interface/src/avatar/MyAvatar.cpp +++ b/interface/src/avatar/MyAvatar.cpp @@ -137,15 +137,8 @@ void MyAvatar::simulate(float deltaTime) { Application::getInstance()->getCamera()->setScale(scale); } - // update the movement of the hand and process handshaking with other avatars... - bool pointing = false; - if (_mousePressed) { - _handState = HAND_STATE_GRASPING; - } else if (pointing) { - _handState = HAND_STATE_POINTING; - } else { - _handState = HAND_STATE_NULL; - } + // no extra movement of the hand here any more ... + _handState = HAND_STATE_NULL; updateOrientation(deltaTime);