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; return maxAvailableSize;
} }
_bodyYaw = yaw; if (_bodyYaw != yaw || _bodyPitch != pitch || _bodyRoll != roll) {
_bodyPitch = pitch; _hasNewJointRotations = true;
_bodyRoll = roll; _bodyYaw = yaw;
_bodyPitch = pitch;
_bodyRoll = roll;
}
// scale // scale
float scale; float scale;