mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 02:33:09 +02:00
Merge pull request #6137 from sethalves/fix-kinematic-grab
Fix kinematic hold-action transmission
This commit is contained in:
commit
8f90cdf98c
1 changed files with 4 additions and 0 deletions
|
@ -245,6 +245,8 @@ QByteArray AvatarActionHold::serialize() const {
|
|||
|
||||
dataStream << _expires + getEntityServerClockSkew();
|
||||
dataStream << _tag;
|
||||
dataStream << _kinematic;
|
||||
dataStream << _kinematicSetVelocity;
|
||||
});
|
||||
|
||||
return serializedActionArguments;
|
||||
|
@ -278,6 +280,8 @@ void AvatarActionHold::deserialize(QByteArray serializedArguments) {
|
|||
dataStream >> _expires;
|
||||
_expires -= getEntityServerClockSkew();
|
||||
dataStream >> _tag;
|
||||
dataStream >> _kinematic;
|
||||
dataStream >> _kinematicSetVelocity;
|
||||
|
||||
#if WANT_DEBUG
|
||||
qDebug() << "deserialize AvatarActionHold: " << _holderID
|
||||
|
|
Loading…
Reference in a new issue