mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 04:23:33 +02:00
Removed backgroundPropertiesChanged
This commit is contained in:
parent
0a21e5de04
commit
452c16e706
1 changed files with 1 additions and 3 deletions
|
@ -206,7 +206,6 @@ void ZoneEntityRenderer::doRenderUpdateSynchronousTyped(const ScenePointer& scen
|
||||||
// resulting in a lost update
|
// resulting in a lost update
|
||||||
bool keyLightChanged = entity->keyLightPropertiesChanged();
|
bool keyLightChanged = entity->keyLightPropertiesChanged();
|
||||||
bool ambientLightChanged = entity->ambientLightPropertiesChanged();
|
bool ambientLightChanged = entity->ambientLightPropertiesChanged();
|
||||||
bool backgroundChanged = entity->backgroundPropertiesChanged();
|
|
||||||
bool skyboxChanged = entity->skyboxPropertiesChanged();
|
bool skyboxChanged = entity->skyboxPropertiesChanged();
|
||||||
bool hazeChanged = entity->hazePropertiesChanged();
|
bool hazeChanged = entity->hazePropertiesChanged();
|
||||||
|
|
||||||
|
@ -250,7 +249,7 @@ void ZoneEntityRenderer::doRenderUpdateSynchronousTyped(const ScenePointer& scen
|
||||||
updateAmbientLightFromEntity(entity);
|
updateAmbientLightFromEntity(entity);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (backgroundChanged || skyboxChanged) {
|
if (skyboxChanged) {
|
||||||
updateKeyBackgroundFromEntity(entity);
|
updateKeyBackgroundFromEntity(entity);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -274,7 +273,6 @@ ItemKey ZoneEntityRenderer::getKey() {
|
||||||
bool ZoneEntityRenderer::needsRenderUpdateFromTypedEntity(const TypedEntityPointer& entity) const {
|
bool ZoneEntityRenderer::needsRenderUpdateFromTypedEntity(const TypedEntityPointer& entity) const {
|
||||||
if (entity->keyLightPropertiesChanged() ||
|
if (entity->keyLightPropertiesChanged() ||
|
||||||
entity->ambientLightPropertiesChanged() ||
|
entity->ambientLightPropertiesChanged() ||
|
||||||
entity->backgroundPropertiesChanged() ||
|
|
||||||
entity->hazePropertiesChanged() ||
|
entity->hazePropertiesChanged() ||
|
||||||
entity->skyboxPropertiesChanged()) {
|
entity->skyboxPropertiesChanged()) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue