From 8135a45ccfe7b44217ece025d59501da74fbe275 Mon Sep 17 00:00:00 2001 From: Jeffrey Ventrella Date: Tue, 23 Apr 2013 22:05:02 -0700 Subject: [PATCH] removed pinky orientation lines in avatar bones --- interface/src/Head.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/interface/src/Head.cpp b/interface/src/Head.cpp index 28a7c53230..de6ce91bbd 100644 --- a/interface/src/Head.cpp +++ b/interface/src/Head.cpp @@ -1132,13 +1132,13 @@ void Head::updateHandMovement( float deltaTime ) { if ( getHandState() == 1 ) { atLeastOneAvatarIsGrasping = true; } - if ( _isMine ) { - if ( _otherAvatar.handState == 1 ) { + //if ( _isMine ) { + //if ( _otherAvatar.handState == 1 ) { if ( _nearOtherAvatar ) { atLeastOneAvatarIsGrasping = true; } - } - } + //} + //} //--------------------------------------------------------------------- // if holding hands with another avatar, add a force to the hand... @@ -1146,7 +1146,7 @@ void Head::updateHandMovement( float deltaTime ) { if ( atLeastOneAvatarIsGrasping ) { glm::vec3 vectorToOtherHand = _otherAvatar.handPosition - _handHolding.position; - glm::vec3 vectorToMyHand = _bone[ AVATAR_BONE_RIGHT_HAND ].position - _handHolding.position; + glm::vec3 vectorToMyHand = _bone[ AVATAR_BONE_RIGHT_HAND ].position - _handHolding.position; _handHolding.velocity *= 0.7; _handHolding.velocity += ( vectorToOtherHand + vectorToMyHand ) * _handHolding.force * deltaTime; @@ -1219,7 +1219,7 @@ void Head::renderBody() { //renderBoneAsBlock( (AvatarBoneID)b); //render bone orientation - renderOrientationDirections( _bone[b].springyPosition, _bone[b].orientation, _bone[b].radius * 2.0 ); + //renderOrientationDirections( _bone[b].springyPosition, _bone[b].orientation, _bone[b].radius * 2.0 ); if ( _usingBodySprings ) { glColor3fv( skinColor );