From 764eee03a438c81ec3a9f28f50201dcd77af96df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 15 Apr 2021 13:01:28 +0200 Subject: Scene: Remove unused `mesh_materials` StringNames They were added in 8be2fabbe5cd846bac5e5a38e55f3fb70e73f2da (2.1 era) but were likely a first attempt that didn't get unused in the end. --- scene/scene_string_names.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'scene/scene_string_names.cpp') diff --git a/scene/scene_string_names.cpp b/scene/scene_string_names.cpp index 892802c103..7575ccd5c3 100644 --- a/scene/scene_string_names.cpp +++ b/scene/scene_string_names.cpp @@ -190,10 +190,6 @@ SceneStringNames::SceneStringNames() { _default = StaticCString::create("default"); - for (int i = 0; i < MAX_MATERIALS; i++) { - mesh_materials[i] = "material/" + itos(i); - } - _window_group = StaticCString::create("_window_group"); _window_input = StaticCString::create("_window_input"); window_input = StaticCString::create("window_input"); -- cgit v1.2.3