mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 11:37:58 +02:00
use for loop rather than iterator
This commit is contained in:
parent
6088612ce0
commit
95f446183f
1 changed files with 1 additions and 3 deletions
|
@ -1032,9 +1032,7 @@ void EntityTree::fixupMissingParents() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
QListIterator<EntityItemPointer> iter(missingParents);
|
for (EntityItemPointer entity : missingParents) {
|
||||||
while (iter.hasNext()) {
|
|
||||||
EntityItemPointer entity = iter.next();
|
|
||||||
if (entity) {
|
if (entity) {
|
||||||
bool queryAACubeSuccess;
|
bool queryAACubeSuccess;
|
||||||
AACube newCube = entity->getQueryAACube(queryAACubeSuccess);
|
AACube newCube = entity->getQueryAACube(queryAACubeSuccess);
|
||||||
|
|
Loading…
Reference in a new issue