update AvatarEntitData blobs before writing to JSON during recordings

This commit is contained in:
Andrew Meadows 2018-12-18 08:42:09 -08:00
parent c998ddbb9e
commit 27318a3f17

View file

@ -1814,6 +1814,7 @@ void MyAvatar::updateAvatarEntity(const QUuid& entityID, const QByteArray& entit
}
void MyAvatar::avatarEntityDataToJson(QJsonObject& root) const {
updateStaleAvatarEntityBlobs();
_avatarEntitiesLock.withReadLock([&] {
if (!_cachedAvatarEntityBlobs.empty()) {
QJsonArray avatarEntityJson;