fix unix error, don't send all all the time

This commit is contained in:
Brad Hefta-Gaub 2016-12-23 10:43:34 -08:00
parent 01d48a5e27
commit 474cb604f1
2 changed files with 2 additions and 2 deletions

View file

@ -510,7 +510,7 @@ QByteArray AvatarData::toByteArray_NEW(AvatarDataDetail dataDetail) {
// - this toByteArray() side-effects the AvatarData, is that safe? in particular
// is it possible we'll call toByteArray() and then NOT actually use the result?
sendAll = true;
//sendAll = true;
bool hasAvatarGlobalPosition = true; // always include global position
bool hasAvatarLocalPosition = sendAll || avatarLocalPositionChanged();

View file

@ -697,7 +697,7 @@ protected:
glm::mat4 _lastSentSensorToWorldMatrix;
uint8_t _lastSentAdditionalFlags { 0 };
QUuid _lastSentParentID;
quint16 _lastSentParentJointIndex { -1 };
quint16 _lastSentParentJointIndex { 0 };
glm::vec3 _globalBoundingBoxCorner;