From 2c048ea16429cfa4e6b200a4fe519ee9db7c3f99 Mon Sep 17 00:00:00 2001 From: Tomasz Chabora Date: Tue, 8 Dec 2020 22:51:48 +0100 Subject: Cleanup unused engine code --- editor/plugins/theme_editor_plugin.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'editor/plugins/theme_editor_plugin.cpp') 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()); } - List shaders; - base_theme->get_shader_list(type, &shaders); - - for (List::Element *E = shaders.front(); E; E = E->next()) { - theme->set_shader(E->get(), type, import ? base_theme->get_shader(E->get(), type) : Ref()); - } - List styleboxs; base_theme->get_stylebox_list(type, &styleboxs); -- cgit v1.2.3