mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 22:39:18 +02:00
break when tag found
This commit is contained in:
parent
85f24f0951
commit
f99a2fa405
1 changed files with 1 additions and 0 deletions
|
@ -618,6 +618,7 @@ void EntityTreeElement::evalEntitiesInSphereWithTags(const glm::vec3& position,
|
||||||
for (const QString& entityTag : entityTags) {
|
for (const QString& entityTag : entityTags) {
|
||||||
if (lowerTag == entityTag.toLower()) {
|
if (lowerTag == entityTag.toLower()) {
|
||||||
found = true;
|
found = true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!found) {
|
if (!found) {
|
||||||
|
|
Loading…
Reference in a new issue