mirror of
https://github.com/godotengine/godot.git
synced 2025-10-26 11:14:17 +00:00
Add checks after ResourceLoader::load()
This commit is contained in:
parent
daf4a9f9be
commit
0a0f596dfb
3 changed files with 4 additions and 0 deletions
|
|
@ -380,6 +380,7 @@ void VersionControlEditorPlugin::fetch_available_vcs_addon_names() {
|
|||
|
||||
String path = ScriptServer::get_global_class_path(global_classes[i]);
|
||||
Ref<Script> script = ResourceLoader::load(path);
|
||||
ERR_FAIL_COND(script.is_null());
|
||||
|
||||
if (script->get_instance_base_type() == "EditorVCSInterface") {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue