mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
Fixed styling
This commit is contained in:
parent
04f0d792bb
commit
2f620e654b
1 changed files with 1 additions and 2 deletions
|
@ -503,14 +503,13 @@ bool EntityTreeElement::findDetailedRayIntersection(const glm::vec3& origin, con
|
|||
forEachEntity([&](EntityItemPointer entity) {
|
||||
if (entityIdsToInclude.size() > 0) {
|
||||
bool entityInWhiteList = false;
|
||||
//We only want to search whitelist if there is one, otherwise everything except blacklisted items are valid
|
||||
// We only want to search whitelist if there is one, otherwise everything except blacklisted items are valid
|
||||
for (int i = 0; i < entityIdsToInclude.size(); i++) {
|
||||
if (entityIdsToInclude.at(i) == entity->getID()) {
|
||||
entityInWhiteList = true;
|
||||
}
|
||||
}
|
||||
if (!entityInWhiteList) {
|
||||
// qDebug() << "entity not found in whitelist!";
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue