mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-05 04:49:45 +02:00
Added correct use of legacy background combo.
This commit is contained in:
parent
033aa11aa2
commit
cf7d6a2eab
1 changed files with 1 additions and 1 deletions
|
@ -2287,7 +2287,7 @@ bool EntityTree::readFromMap(QVariantMap& map) {
|
|||
}
|
||||
|
||||
if (!entityMap.contains("skyboxMode")) {
|
||||
if (entityMap.contains("backgroundMode") && properties.getBackgroundMode() == "inherit") {
|
||||
if (entityMap.contains("backgroundMode") && properties.getBackgroundModeAsString() == "inherit") {
|
||||
// The content creator has set the combo to NOTHING - this is actually inherit
|
||||
properties.setSkyboxMode(COMPONENT_MODE_INHERIT);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue