| 284 | } |
| 285 | |
| 286 | EditorPlugin *EditorData::get_editor_by_name(const String &p_name) { |
| 287 | for (int i = editor_plugins.size() - 1; i > -1; i--) { |
| 288 | if (editor_plugins[i]->get_plugin_name() == p_name) { |
| 289 | return editor_plugins[i]; |
| 290 | } |
| 291 | } |
| 292 | |
| 293 | return nullptr; |
| 294 | } |
| 295 | |
| 296 | void EditorData::copy_object_params(Object *p_object) { |
| 297 | clipboard.clear(); |
no test coverage detected