Merge pull request #137 from birarda/master

only change hand state if for mouse press if it is your hand
This commit is contained in:
birarda 2013-04-24 14:11:47 -07:00
commit eb4e757a66

View file

@ -1137,7 +1137,9 @@ void Head::updateHandMovement( float deltaTime ) {
_bone[ AVATAR_BONE_RIGHT_HAND ].position += transformedHandMovement;
setHandState(_mousePressed);
if (_isMine) {
_handState = _mousePressed;
}
//---------------------------------------------------------------------
// if holding hands with another avatar, add a force to the hand...