mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 21:43:13 +02:00
Merge pull request #14980 from AndrewMeadows/dont-clear-space
Case 21309: don't corrupt workload system
This commit is contained in:
commit
6af2b25767
1 changed files with 1 additions and 4 deletions
|
@ -219,7 +219,6 @@ void EntityTreeRenderer::clearNonLocalEntities() {
|
|||
|
||||
std::unordered_map<EntityItemID, EntityRendererPointer> savedEntities;
|
||||
// remove all entities from the scene
|
||||
_space->clear();
|
||||
auto scene = _viewState->getMain3DScene();
|
||||
if (scene) {
|
||||
render::Transaction transaction;
|
||||
|
@ -259,8 +258,6 @@ void EntityTreeRenderer::clear() {
|
|||
resetEntitiesScriptEngine();
|
||||
}
|
||||
// remove all entities from the scene
|
||||
|
||||
_space->clear();
|
||||
auto scene = _viewState->getMain3DScene();
|
||||
if (scene) {
|
||||
render::Transaction transaction;
|
||||
|
|
Loading…
Reference in a new issue