mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 22:30:42 +02:00
move variables into block that needs them
This commit is contained in:
parent
8d00731620
commit
f4dedf05bb
1 changed files with 2 additions and 2 deletions
|
@ -1941,9 +1941,9 @@ bool EntityTree::readFromMap(QVariantMap& map) {
|
|||
entityItemID = EntityItemID(QUuid::createUuid());
|
||||
}
|
||||
|
||||
auto nodeList = DependencyManager::get<NodeList>();
|
||||
const QUuid myNodeID = nodeList->getSessionUUID();
|
||||
if (properties.getClientOnly()) {
|
||||
auto nodeList = DependencyManager::get<NodeList>();
|
||||
const QUuid myNodeID = nodeList->getSessionUUID();
|
||||
properties.setOwningAvatarID(myNodeID);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue