don't spam log when a zone is invisible

This commit is contained in:
Seth Alves 2016-03-20 15:06:17 -07:00
parent b8929c4416
commit d4ed9993b2

View file

@ -182,7 +182,9 @@ bool EntityTreeRenderer::findBestZoneAndMaybeContainingEntities(const glm::vec3&
// if this entity is a zone, use this time to determine the bestZone
if (entity->getType() == EntityTypes::Zone) {
if (!entity->getVisible()) {
#ifdef WANT_DEBUG
qCDebug(entitiesrenderer) << "not visible";
#endif
}
else {
float entityVolumeEstimate = entity->getVolumeEstimate();