Merge pull request #15452 from AndrewMeadows/send-after-applying-bookmark

Case 21884: send update after changing AvatarEntity via AvatarBookmarks.updateAvatarEntities()
This commit is contained in:
Shannon Romano 2019-04-25 10:31:25 -07:00 committed by GitHub
commit 392b372815
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1630,7 +1630,9 @@ void MyAvatar::handleChangedAvatarEntityData() {
if (!skip) {
sanitizeAvatarEntityProperties(properties);
entityTree->withWriteLock([&] {
entityTree->updateEntity(id, properties);
if (entityTree->updateEntity(id, properties)) {
packetSender->queueEditAvatarEntityMessage(entityTree, id);
}
});
}
}