Cleanup unused engine code
This commit is contained in:
parent
90bdba576a
commit
2c048ea164
56 changed files with 4 additions and 615 deletions
|
|
@ -142,9 +142,6 @@ void AnimationTreeEditor::enter_editor(const String &p_path) {
|
|||
edit_path(path);
|
||||
}
|
||||
|
||||
void AnimationTreeEditor::_about_to_show_root() {
|
||||
}
|
||||
|
||||
void AnimationTreeEditor::_notification(int p_what) {
|
||||
if (p_what == NOTIFICATION_PROCESS) {
|
||||
ObjectID root;
|
||||
|
|
|
|||
|
|
@ -62,7 +62,6 @@ class AnimationTreeEditor : public VBoxContainer {
|
|||
Vector<AnimationTreeNodeEditorPlugin *> editors;
|
||||
|
||||
void _update_path();
|
||||
void _about_to_show_root();
|
||||
ObjectID current_root;
|
||||
|
||||
void _path_button_pressed(int p_path);
|
||||
|
|
|
|||
|
|
@ -1641,17 +1641,6 @@ void ScriptEditor::get_breakpoints(List<String> *p_breakpoints) {
|
|||
}
|
||||
}
|
||||
|
||||
void ScriptEditor::ensure_focus_current() {
|
||||
if (!is_inside_tree()) {
|
||||
return;
|
||||
}
|
||||
|
||||
ScriptEditorBase *current = _get_current_editor();
|
||||
if (current) {
|
||||
current->ensure_focus();
|
||||
}
|
||||
}
|
||||
|
||||
void ScriptEditor::_members_overview_selected(int p_idx) {
|
||||
ScriptEditorBase *se = _get_current_editor();
|
||||
if (!se) {
|
||||
|
|
|
|||
|
|
@ -453,7 +453,6 @@ public:
|
|||
|
||||
bool toggle_scripts_panel();
|
||||
bool is_scripts_panel_toggled();
|
||||
void ensure_focus_current();
|
||||
void apply_scripts() const;
|
||||
void open_script_create_dialog(const String &p_base_name, const String &p_base_path);
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue