mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 05:37:17 +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
|
// check against each of our entities
|
||||||
foreach(const EntityToMoveDetails& details, _entitiesToMove) {
|
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 the scale of our desired cube is smaller than our children, then consider making a child
|
||||||
if (details.newBox.getLargestDimension() <= childElementScale) {
|
if (details.newBox.getLargestDimension() <= childElementScale) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue