mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 10:19:06 +02:00
fix applyPartial for last zone
This commit is contained in:
parent
abde84b068
commit
bb39cdafda
1 changed files with 2 additions and 0 deletions
|
@ -1176,6 +1176,8 @@ void EntityTreeRenderer::LayeredZones::applyPartial(iterator layer) {
|
||||||
|
|
||||||
if (layer == begin()) {
|
if (layer == begin()) {
|
||||||
hasSkybox = _entityTreeRenderer->applyZoneAndHasSkybox(layer->zone);
|
hasSkybox = _entityTreeRenderer->applyZoneAndHasSkybox(layer->zone);
|
||||||
|
} else {
|
||||||
|
hasSkybox = _entityTreeRenderer->layerZoneAndHasSkybox(layer->zone);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (layer != end()) {
|
if (layer != end()) {
|
||||||
|
|
Loading…
Reference in a new issue