mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 11:17:34 +02:00
fix unix error, don't send all all the time
This commit is contained in:
parent
01d48a5e27
commit
474cb604f1
2 changed files with 2 additions and 2 deletions
|
@ -510,7 +510,7 @@ QByteArray AvatarData::toByteArray_NEW(AvatarDataDetail dataDetail) {
|
||||||
// - this toByteArray() side-effects the AvatarData, is that safe? in particular
|
// - 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?
|
// 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 hasAvatarGlobalPosition = true; // always include global position
|
||||||
bool hasAvatarLocalPosition = sendAll || avatarLocalPositionChanged();
|
bool hasAvatarLocalPosition = sendAll || avatarLocalPositionChanged();
|
||||||
|
|
|
@ -697,7 +697,7 @@ protected:
|
||||||
glm::mat4 _lastSentSensorToWorldMatrix;
|
glm::mat4 _lastSentSensorToWorldMatrix;
|
||||||
uint8_t _lastSentAdditionalFlags { 0 };
|
uint8_t _lastSentAdditionalFlags { 0 };
|
||||||
QUuid _lastSentParentID;
|
QUuid _lastSentParentID;
|
||||||
quint16 _lastSentParentJointIndex { -1 };
|
quint16 _lastSentParentJointIndex { 0 };
|
||||||
|
|
||||||
|
|
||||||
glm::vec3 _globalBoundingBoxCorner;
|
glm::vec3 _globalBoundingBoxCorner;
|
||||||
|
|
Loading…
Reference in a new issue