mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 17:03:58 +02:00
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:
commit
eb4e757a66
1 changed files with 3 additions and 1 deletions
|
@ -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...
|
||||
|
|
Loading…
Reference in a new issue