mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:35:08 +02:00
don't send avatar localPosition unless the avatar has a parent, even if sendAll is true
This commit is contained in:
parent
b333126cbe
commit
5ee484a592
1 changed files with 3 additions and 3 deletions
|
@ -259,9 +259,9 @@ QByteArray AvatarData::toByteArray(AvatarDataDetail dataDetail, quint64 lastSent
|
|||
// and the parent info can change independently though, so we track their "changed since"
|
||||
// separately
|
||||
bool hasParentInfo = sendAll || parentInfoChangedSince(lastSentTime);
|
||||
bool hasAvatarLocalPosition = sendAll ||
|
||||
(hasParent() && (tranlationChangedSince(lastSentTime) ||
|
||||
parentInfoChangedSince(lastSentTime)));
|
||||
bool hasAvatarLocalPosition = hasParent() && (sendAll ||
|
||||
tranlationChangedSince(lastSentTime) ||
|
||||
parentInfoChangedSince(lastSentTime));
|
||||
|
||||
bool hasFaceTrackerInfo = hasFaceTracker() && (sendAll || faceTrackerInfoChangedSince(lastSentTime));
|
||||
bool hasJointData = sendAll || !sendMinimum;
|
||||
|
|
Loading…
Reference in a new issue