mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 21:03:27 +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;
|
std::unordered_map<EntityItemID, EntityRendererPointer> savedEntities;
|
||||||
// remove all entities from the scene
|
// remove all entities from the scene
|
||||||
_space->clear();
|
|
||||||
auto scene = _viewState->getMain3DScene();
|
auto scene = _viewState->getMain3DScene();
|
||||||
if (scene) {
|
if (scene) {
|
||||||
render::Transaction transaction;
|
render::Transaction transaction;
|
||||||
|
@ -259,8 +258,6 @@ void EntityTreeRenderer::clear() {
|
||||||
resetEntitiesScriptEngine();
|
resetEntitiesScriptEngine();
|
||||||
}
|
}
|
||||||
// remove all entities from the scene
|
// remove all entities from the scene
|
||||||
|
|
||||||
_space->clear();
|
|
||||||
auto scene = _viewState->getMain3DScene();
|
auto scene = _viewState->getMain3DScene();
|
||||||
if (scene) {
|
if (scene) {
|
||||||
render::Transaction transaction;
|
render::Transaction transaction;
|
||||||
|
@ -1392,4 +1389,4 @@ bool EntityTreeRenderer::removeMaterialFromAvatar(const QUuid& avatarID, graphic
|
||||||
return _removeMaterialFromAvatarOperator(avatarID, material, parentMaterialName);
|
return _removeMaterialFromAvatarOperator(avatarID, material, parentMaterialName);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue