Fixes body not rotating for other avatars

This commit is contained in:
Atlante45 2015-01-14 16:47:20 -08:00
parent fead12acca
commit b922b028e9

View file

@ -338,9 +338,12 @@ int AvatarData::parseDataAtOffset(const QByteArray& packet, int offset) {
}
return maxAvailableSize;
}
_bodyYaw = yaw;
_bodyPitch = pitch;
_bodyRoll = roll;
if (_bodyYaw != yaw || _bodyPitch != pitch || _bodyRoll != roll) {
_hasNewJointRotations = true;
_bodyYaw = yaw;
_bodyPitch = pitch;
_bodyRoll = roll;
}
// scale
float scale;