mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
committed by
Rémi Verschelde
parent
830947feaf
commit
424a104666
@@ -261,13 +261,13 @@ EditorPlugin* EditorData::get_subeditor(Object *p_object) {
|
||||
}
|
||||
|
||||
EditorPlugin* EditorData::get_editor(String p_name) {
|
||||
|
||||
|
||||
for(int i=0;i<editor_plugins.size();i++) {
|
||||
|
||||
|
||||
if (editor_plugins[i]->get_name()==p_name)
|
||||
return editor_plugins[i];
|
||||
}
|
||||
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user