Merge pull request #134 from birarda/master

fix getter for hand state
This commit is contained in:
birarda 2013-04-24 12:41:57 -07:00
commit ca19176312
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; };