From 4d275c473e9605a6e99722ffad01bf6b2f7231ef Mon Sep 17 00:00:00 2001 From: megalobyte Date: Sat, 19 Feb 2022 14:33:27 -0500 Subject: [PATCH] Don't process VisualScriptNodes --- modules/visual_script/editor/visual_script_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/visual_script/editor/visual_script_editor.cpp b/modules/visual_script/editor/visual_script_editor.cpp index e2432a1282d..ff4b6a1f4b2 100644 --- a/modules/visual_script/editor/visual_script_editor.cpp +++ b/modules/visual_script/editor/visual_script_editor.cpp @@ -3535,7 +3535,7 @@ void VisualScriptEditor::_selected_connect_node(const String &p_text, const Stri print_error("Category not handled: " + p_category.quote()); } - if (Object::cast_to(vnode.ptr()) && p_category != "Class") { + if (Object::cast_to(vnode.ptr()) && p_category != "Class" && p_category != "VisualScriptNode") { Vector property_path = p_text.split(":"); String class_of_method = property_path[0]; String method_name = property_path[1];