mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-12 14:36:51 +02:00
Fixed skybox inheritance.
This commit is contained in:
parent
0764e80996
commit
dad3a0d340
1 changed files with 1 additions and 3 deletions
|
@ -145,10 +145,8 @@ void ZoneEntityRenderer::doRender(RenderArgs* args) {
|
|||
updateSkyboxMap();
|
||||
|
||||
if (_needBackgroundUpdate) {
|
||||
if (BackgroundStage::isIndexInvalid(_backgroundIndex)) {
|
||||
if (_skyboxMode == COMPONENT_MODE_ENABLED && BackgroundStage::isIndexInvalid(_backgroundIndex)) {
|
||||
_backgroundIndex = _backgroundStage->addBackground(_background);
|
||||
} else {
|
||||
|
||||
}
|
||||
_needBackgroundUpdate = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue