Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scene: Remove unused mesh_materials StringNames #47916

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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