mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 06:53:59 +02:00
OctreePacketProcessor should process packet even when no SafeLanding
This commit is contained in:
parent
bf068a3211
commit
0bec2bca83
1 changed files with 4 additions and 2 deletions
|
@ -111,9 +111,11 @@ void OctreePacketProcessor::processPacket(QSharedPointer<ReceivedMessage> messag
|
|||
case PacketType::EntityData: {
|
||||
if (DependencyManager::get<SceneScriptingInterface>()->shouldRenderEntities()) {
|
||||
auto renderer = qApp->getEntities();
|
||||
if (renderer && _safeLanding) {
|
||||
if (renderer) {
|
||||
renderer->processDatagram(*message, sendingNode);
|
||||
_safeLanding->addToSequence(renderer->getLastOctreeMessageSequence());
|
||||
if (_safeLanding && _safeLanding->isTracking()) {
|
||||
_safeLanding->addToSequence(renderer->getLastOctreeMessageSequence());
|
||||
}
|
||||
}
|
||||
}
|
||||
} break;
|
||||
|
|
Loading…
Reference in a new issue