mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 00:36:52 +02:00
remove legacy empty avatarEntityData settings
This commit is contained in:
parent
a871613f84
commit
cc301d1c1a
1 changed files with 4 additions and 0 deletions
|
@ -931,6 +931,10 @@ void MyAvatar::loadData() {
|
||||||
updateAvatarEntity(entityID, properties);
|
updateAvatarEntity(entityID, properties);
|
||||||
}
|
}
|
||||||
settings.endArray();
|
settings.endArray();
|
||||||
|
if (avatarEntityCount == 0) {
|
||||||
|
// HACK: manually remove empty 'avatarEntityData' else legacy data may persist in settings file
|
||||||
|
settings.remove("avatarEntityData");
|
||||||
|
}
|
||||||
setAvatarEntityDataChanged(true);
|
setAvatarEntityDataChanged(true);
|
||||||
|
|
||||||
setDisplayName(settings.value("displayName").toString());
|
setDisplayName(settings.value("displayName").toString());
|
||||||
|
|
Loading…
Reference in a new issue