mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Remove unused get_subeditor() method
This commit is contained in:
parent
41f66761fd
commit
16af326a46
2 changed files with 0 additions and 11 deletions
|
|
@ -273,16 +273,6 @@ EditorPlugin *EditorData::get_editor(Object *p_object) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
EditorPlugin *EditorData::get_subeditor(Object *p_object) {
|
|
||||||
for (int i = editor_plugins.size() - 1; i > -1; i--) {
|
|
||||||
if (!editor_plugins[i]->has_main_screen() && editor_plugins[i]->handles(p_object)) {
|
|
||||||
return editor_plugins[i];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return nullptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
Vector<EditorPlugin *> EditorData::get_subeditors(Object *p_object) {
|
Vector<EditorPlugin *> EditorData::get_subeditors(Object *p_object) {
|
||||||
Vector<EditorPlugin *> sub_plugins;
|
Vector<EditorPlugin *> sub_plugins;
|
||||||
for (int i = editor_plugins.size() - 1; i > -1; i--) {
|
for (int i = editor_plugins.size() - 1; i > -1; i--) {
|
||||||
|
|
|
||||||
|
|
@ -145,7 +145,6 @@ private:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
EditorPlugin *get_editor(Object *p_object);
|
EditorPlugin *get_editor(Object *p_object);
|
||||||
EditorPlugin *get_subeditor(Object *p_object);
|
|
||||||
Vector<EditorPlugin *> get_subeditors(Object *p_object);
|
Vector<EditorPlugin *> get_subeditors(Object *p_object);
|
||||||
EditorPlugin *get_editor(String p_name);
|
EditorPlugin *get_editor(String p_name);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue