Merge pull request #47916 from akien-mga/stringnames-mesh_materials-unused

Scene: Remove unused `mesh_materials` StringNames
This commit is contained in:
Rémi Verschelde 2021-04-15 13:39:53 +02:00 committed by GitHub
commit b8bd648ad9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 8 deletions

View file

@ -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");

View file

@ -216,10 +216,6 @@ public:
StringName use_in_baked_light;
StringName use_dynamic_gi;
#endif
enum {
MAX_MATERIALS = 32
};
StringName mesh_materials[MAX_MATERIALS];
};
#endif // SCENE_STRING_NAMES_H