break when tag found

This commit is contained in:
HifiExperiments 2023-12-30 13:41:56 -08:00
parent 85f24f0951
commit f99a2fa405

View file

@ -618,6 +618,7 @@ void EntityTreeElement::evalEntitiesInSphereWithTags(const glm::vec3& position,
for (const QString& entityTag : entityTags) {
if (lowerTag == entityTag.toLower()) {
found = true;
break;
}
}
if (!found) {