mirror of
https://github.com/overte-org/overte.git
synced 2025-04-24 12:13:36 +02:00
verify that entityitem cleanup is happening correctly
This commit is contained in:
parent
43b1c1bf00
commit
bcac50b362
1 changed files with 3 additions and 1 deletions
|
@ -643,7 +643,9 @@ void EntityTreeElement::cleanupEntities() {
|
|||
EntityItemPointer entity = (*_entityItems)[i];
|
||||
entity->_element = NULL;
|
||||
|
||||
// FIX ME!!! -- maybe this is correct
|
||||
// NOTE: We explicitly don't delete the EntityItem here because since we only
|
||||
// access it by smart pointers, when we remove it from the _entityItems
|
||||
// we know that it will be deleted.
|
||||
//delete entity;
|
||||
}
|
||||
_entityItems->clear();
|
||||
|
|
Loading…
Reference in a new issue