mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 00:59:56 +02:00
warning fix
This commit is contained in:
parent
a555eeda23
commit
9cf6fcdaab
1 changed files with 1 additions and 2 deletions
|
@ -131,8 +131,7 @@ OctreeElement* MovingEntitiesOperator::PossiblyCreateChildAt(OctreeElement* elem
|
|||
|
||||
// check against each of our entities
|
||||
foreach(const EntityToMoveDetails& details, _entitiesToMove) {
|
||||
EntityTreeElement* entityTreeElement = static_cast<EntityTreeElement*>(element);
|
||||
|
||||
|
||||
// if the scale of our desired cube is smaller than our children, then consider making a child
|
||||
if (details.newBox.getLargestDimension() <= childElementScale) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue