mirror of
https://github.com/overte-org/overte.git
synced 2025-08-14 03:45:42 +02:00
whoops, remove last bestFitBoundsInMeters() call
This commit is contained in:
parent
373be95297
commit
c4dafc74ad
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ bool AddEntityOperator::preRecursion(OctreeElement* element) {
|
|||
if (!_foundNew && element->getAACube().contains(_newEntityBox)) {
|
||||
|
||||
// If this element is the best fit for the new entity properties, then add/or update it
|
||||
if (entityTreeElement->bestFitBoundsInMeters(_newEntityBox)) {
|
||||
if (entityTreeElement->bestFitBounds(_newEntityBox)) {
|
||||
|
||||
entityTreeElement->addEntityItem(_newEntity);
|
||||
_tree->setContainingElement(_newEntity->getEntityItemID(), entityTreeElement);
|
||||
|
|
Loading…
Reference in a new issue