mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-14 09:06:32 +02:00
Fix flash of avatar entity when domain restarts
This commit is contained in:
parent
38738a69ac
commit
db0f7a9884
1 changed files with 4 additions and 0 deletions
|
@ -1385,6 +1385,10 @@ void NodeList::startThread() {
|
|||
void NodeList::adjustCanRezAvatarEntitiesPermissions(const QJsonObject& domainSettingsObject,
|
||||
NodePermissions& permissions, bool notify) {
|
||||
|
||||
if (domainSettingsObject.isEmpty()) {
|
||||
// Don't have enough information to adjust yet.
|
||||
return;
|
||||
}
|
||||
|
||||
const double CANREZAVATARENTITIES_INTRODUCED_VERSION = 2.5;
|
||||
auto version = domainSettingsObject.value("version");
|
||||
|
|
Loading…
Reference in a new issue