whoops, remove last bestFitBoundsInMeters() call

This commit is contained in:
Andrew Meadows 2015-03-06 15:33:15 -08:00
parent 373be95297
commit c4dafc74ad

View file

@ -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);