summaryrefslogtreecommitdiff
path: root/scene/scene_string_names.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/scene_string_names.cpp')
-rw-r--r--scene/scene_string_names.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/scene/scene_string_names.cpp b/scene/scene_string_names.cpp
index 5e3f8b803b..7f87da3724 100644
--- a/scene/scene_string_names.cpp
+++ b/scene/scene_string_names.cpp
@@ -33,7 +33,6 @@
SceneStringNames *SceneStringNames::singleton = nullptr;
SceneStringNames::SceneStringNames() {
-
_estimate_cost = StaticCString::create("_estimate_cost");
_compute_cost = StaticCString::create("_compute_cost");
@@ -189,7 +188,6 @@ SceneStringNames::SceneStringNames() {
_default = StaticCString::create("default");
for (int i = 0; i < MAX_MATERIALS; i++) {
-
mesh_materials[i] = "material/" + itos(i);
}
@@ -205,4 +203,9 @@ SceneStringNames::SceneStringNames() {
shader_overrides_group = StaticCString::create("_shader_overrides_group_");
shader_overrides_group_active = StaticCString::create("_shader_overrides_group_active_");
+
+#ifndef DISABLE_DEPRECATED
+ use_in_baked_light = StaticCString::create("use_in_baked_light");
+ use_dynamic_gi = StaticCString::create("use_dynamic_gi");
+#endif
}