Skip to content

Commit

Permalink
Merge pull request #47916 from akien-mga/stringnames-mesh_materials-u…
Browse files Browse the repository at this point in the history
…nused

Scene: Remove unused `mesh_materials` StringNames
  • Loading branch information
akien-mga committed Apr 15, 2021
2 parents f109376 + 764eee0 commit b8bd648
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions scene/scene_string_names.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
4 changes: 0 additions & 4 deletions scene/scene_string_names.h
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,6 @@ class SceneStringNames {
StringName use_in_baked_light;
StringName use_dynamic_gi;
#endif
enum {
MAX_MATERIALS = 32
};
StringName mesh_materials[MAX_MATERIALS];
};

#endif // SCENE_STRING_NAMES_H

0 comments on commit b8bd648

Please sign in to comment.