mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 13:43:49 +02:00
Removed reference to BackgroundMode.
This commit is contained in:
parent
33cc17a52f
commit
1acf7bae20
1 changed files with 1 additions and 4 deletions
|
@ -2287,11 +2287,8 @@ bool EntityTree::readFromMap(QVariantMap& map) {
|
|||
properties.setKeyLightMode(COMPONENT_MODE_ENABLED);
|
||||
}
|
||||
|
||||
if (entityMap.contains("backgroundMode") && properties.getBackgroundModeAsString() == "skybox") {
|
||||
if (!entityMap.contains("skyboxMode")) {
|
||||
properties.setSkyboxMode(COMPONENT_MODE_ENABLED);
|
||||
} else {
|
||||
// The content creator has set the combo to NOTHING - this is actually inherit
|
||||
properties.setSkyboxMode(COMPONENT_MODE_INHERIT);
|
||||
}
|
||||
|
||||
if (!entityMap.contains("ambientLightMode")) {
|
||||
|
|
Loading…
Reference in a new issue