mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
Scene: Remove unused mesh_materials
StringNames
They were added in 8be2fabbe5
(2.1 era) but
were likely a first attempt that didn't get unused in the end.
This commit is contained in:
parent
c7a4e2196e
commit
764eee03a4
@ -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");
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user