History

move to cbor

HifiExperiments committed 1 year ago

Commit f86ca231 parent c0ef3ac13 files · +21 −63Browse files

Showing the changes to interface/src/AvatarBookmarks.cpp (1 of 13 files). Show all

Unified · Split

interface/src/AvatarBookmarks.cpp+1−4
@@ -198,10 +198,7 @@ void AvatarBookmarks::updateAvatarEntities(const QVariantList &avatarEntities) { · 197 unmodified lines
198 if (propertiesItr != avatarEntityVariantMap.end()) {198 if (propertiesItr != avatarEntityVariantMap.end()) {
199 EntityItemID id = idItr.value().toUuid();199 EntityItemID id = idItr.value().toUuid();
200 newAvatarEntities.insert(id);200 newAvatarEntities.insert(id);
201 OVERTE_IGNORE_DEPRECATED_BEGIN201 myAvatar->updateAvatarEntity(id, QCborValue::fromVariant(propertiesItr.value()).toCbor());
202 // We're not transitioning to CBOR yet, since it'd break the protocol.
203 myAvatar->updateAvatarEntity(id, QJsonDocument::fromVariant(propertiesItr.value()).toBinaryData());
204 OVERTE_IGNORE_WARNING_END
205 }202 }
206 }203 }
207 }204 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t