//----------------------------------------------------------------------------- // LLEyeMotion::onDeactivate() //----------------------------------------------------------------------------- void LLEyeMotion::onDeactivate() { LLJoint* joint = mLeftEyeState->getJoint(); if (joint) { joint->setRotation(LLQuaternion::DEFAULT); } joint = mRightEyeState->getJoint(); if (joint) { joint->setRotation(LLQuaternion::DEFAULT); } }