Fix #52195 VCS script attachment failing for GDScript instances
This commit is contained in:
parent
17e61fa0af
commit
25cb3edbc4
@ -117,7 +117,7 @@ void VersionControlEditorPlugin::_initialize_vcs() {
|
|||||||
ERR_FAIL_COND_MSG(!addon_script_instance, "Failed to create addon script instance.");
|
ERR_FAIL_COND_MSG(!addon_script_instance, "Failed to create addon script instance.");
|
||||||
|
|
||||||
// The addon is attached as a script to the VCS interface as a proxy end-point
|
// The addon is attached as a script to the VCS interface as a proxy end-point
|
||||||
vcs_interface->set_script_and_instance(script.get_ref_ptr(), addon_script_instance);
|
vcs_interface->set_script_instance(addon_script_instance);
|
||||||
|
|
||||||
EditorVCSInterface::set_singleton(vcs_interface);
|
EditorVCSInterface::set_singleton(vcs_interface);
|
||||||
EditorFileSystem::get_singleton()->connect("filesystem_changed", this, "_refresh_stage_area");
|
EditorFileSystem::get_singleton()->connect("filesystem_changed", this, "_refresh_stage_area");
|
||||||
|
Loading…
Reference in New Issue
Block a user