diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2020-12-09 13:01:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-09 13:01:50 +0100 |
| commit | 114f97ff110aa0b5c54ea1c8279b21dc73c5efc8 (patch) | |
| tree | 065ed6b74f7e0171c1bc9f8d94fcee2f01d7f7cb /editor/plugins/theme_editor_plugin.cpp | |
| parent | e48d1b3f518d24a5ff0cb7f636c07162873fa63e (diff) | |
| parent | 2c048ea16429cfa4e6b200a4fe519ee9db7c3f99 (diff) | |
| download | redot-engine-114f97ff110aa0b5c54ea1c8279b21dc73c5efc8.tar.gz | |
Merge pull request #44128 from KoBeWi/🧹
Cleanup unused engine code
Diffstat (limited to 'editor/plugins/theme_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/theme_editor_plugin.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/editor/plugins/theme_editor_plugin.cpp b/editor/plugins/theme_editor_plugin.cpp index 8ab82b63c3..dd53f60014 100644 --- a/editor/plugins/theme_editor_plugin.cpp +++ b/editor/plugins/theme_editor_plugin.cpp @@ -507,13 +507,6 @@ void ThemeEditor::_theme_menu_cbk(int p_option) { theme->set_icon(E->get(), type, import ? base_theme->get_icon(E->get(), type) : Ref<Texture2D>()); } - List<StringName> shaders; - base_theme->get_shader_list(type, &shaders); - - for (List<StringName>::Element *E = shaders.front(); E; E = E->next()) { - theme->set_shader(E->get(), type, import ? base_theme->get_shader(E->get(), type) : Ref<Shader>()); - } - List<StringName> styleboxs; base_theme->get_stylebox_list(type, &styleboxs); |
