fix getter for hand state in AvatarData

This commit is contained in:
Stephen Birarda 2013-04-24 12:39:25 -07:00
parent 3c36c7b726
commit cfbe8a719c
2 changed files with 2 additions and 2 deletions

View file

@ -1263,7 +1263,7 @@ void Head::renderBody() {
//--------------------------------------------------------- //---------------------------------------------------------
// if the hand is grasping, show it... // if the hand is grasping, show it...
//--------------------------------------------------------- //---------------------------------------------------------
if (( _usingBodySprings ) && ( getHandState() == 1 )) { if (( _usingBodySprings ) && ( _handState == 1 )) {
glPushMatrix(); glPushMatrix();
glTranslatef glTranslatef
( (

View file

@ -48,7 +48,7 @@ public:
// Hand State // Hand State
void setHandState(char s) { _handState = s; }; void setHandState(char s) { _handState = s; };
const float getHandState() const {return _handState; }; //@Philip - shouldn't this be an int or a char? const char getHandState() const {return _handState; };
// Instantaneous audio loudness to drive mouth/facial animation // Instantaneous audio loudness to drive mouth/facial animation
void setLoudness(float l) { _audioLoudness = l; }; void setLoudness(float l) { _audioLoudness = l; };