mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +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);
|
||||
}
|
||||
settings.endArray();
|
||||
if (avatarEntityCount == 0) {
|
||||
// HACK: manually remove empty 'avatarEntityData' else legacy data may persist in settings file
|
||||
settings.remove("avatarEntityData");
|
||||
}
|
||||
setAvatarEntityDataChanged(true);
|
||||
|
||||
setDisplayName(settings.value("displayName").toString());
|
||||
|
|
Loading…
Reference in a new issue