Temporarily disable body lean in avatar

This commit is contained in:
Ryan Huffman 2015-07-16 14:03:36 -07:00
parent 87f891288f
commit f8f47f99c6

View file

@ -166,10 +166,10 @@ QByteArray AvatarData::toByteArray() {
destinationBuffer += packFloatAngleToTwoByte(destinationBuffer, _headData->getFinalYaw());
destinationBuffer += packFloatAngleToTwoByte(destinationBuffer, _headData->getFinalRoll());
// Body lean
destinationBuffer += packFloatAngleToTwoByte(destinationBuffer, _headData->_leanForward);
destinationBuffer += packFloatAngleToTwoByte(destinationBuffer, _headData->_leanSideways);
destinationBuffer += packFloatAngleToTwoByte(destinationBuffer, _headData->_torsoTwist);
// // Body lean
// destinationBuffer += packFloatAngleToTwoByte(destinationBuffer, _headData->_leanForward);
// destinationBuffer += packFloatAngleToTwoByte(destinationBuffer, _headData->_leanSideways);
// destinationBuffer += packFloatAngleToTwoByte(destinationBuffer, _headData->_torsoTwist);
// Lookat Position
memcpy(destinationBuffer, &_headData->_lookAtPosition, sizeof(_headData->_lookAtPosition));