From cf7d6a2eab1c4061a42503a855db585b37938291 Mon Sep 17 00:00:00 2001 From: Nissim Hadar Date: Thu, 4 Jan 2018 20:30:10 -0800 Subject: [PATCH] Added correct use of legacy background combo. --- libraries/entities/src/EntityTree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/entities/src/EntityTree.cpp b/libraries/entities/src/EntityTree.cpp index 70288ced1d..ff1b65db15 100644 --- a/libraries/entities/src/EntityTree.cpp +++ b/libraries/entities/src/EntityTree.cpp @@ -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 {