mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 04:23:33 +02:00
clear the Space
This commit is contained in:
parent
18a6ac057a
commit
7a852a0e31
1 changed files with 1 additions and 0 deletions
|
@ -194,6 +194,7 @@ void EntityTreeRenderer::clear() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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;
|
||||||
|
|
Loading…
Reference in a new issue