mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 18:53:37 +02:00
avoid adding null renderables to list
This commit is contained in:
parent
809ff7928e
commit
c6bccb3de3
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ void EntityTreeRenderer::updateChangedEntities(const render::ScenePointer& scene
|
|||
continue;
|
||||
}
|
||||
_renderablesToUpdate.insert(itr, { entityId, renderable });
|
||||
} else {
|
||||
} else if (renderable) {
|
||||
_renderablesToUpdate.insert({ entityId, renderable });
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue