mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 18:10:37 +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,
|
void NodeList::adjustCanRezAvatarEntitiesPermissions(const QJsonObject& domainSettingsObject,
|
||||||
NodePermissions& permissions, bool notify) {
|
NodePermissions& permissions, bool notify) {
|
||||||
|
|
||||||
|
if (domainSettingsObject.isEmpty()) {
|
||||||
|
// Don't have enough information to adjust yet.
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const double CANREZAVATARENTITIES_INTRODUCED_VERSION = 2.5;
|
const double CANREZAVATARENTITIES_INTRODUCED_VERSION = 2.5;
|
||||||
auto version = domainSettingsObject.value("version");
|
auto version = domainSettingsObject.value("version");
|
||||||
|
|
Loading…
Reference in a new issue