diff options
author | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2018-07-25 11:49:41 -0700 |
---|---|---|
committer | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2018-07-26 06:18:23 -0700 |
commit | 00519debbe31a471c85a9756d49c552fdb9a3d44 (patch) | |
tree | 081e7b22bcebb652089697e9984c229454d11b18 /modules/visual_script/visual_script_editor.h | |
parent | 96d37769d90ed9aa52eb23e7672962049d31dfd8 (diff) | |
download | redot-engine-00519debbe31a471c85a9756d49c552fdb9a3d44.tar.gz |
Visualscript fix crash and generic search does not connect ports.
* Signal change requires function changes to _selected_new_virtual_method
Diffstat (limited to 'modules/visual_script/visual_script_editor.h')
-rw-r--r-- | modules/visual_script/visual_script_editor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/visual_script/visual_script_editor.h b/modules/visual_script/visual_script_editor.h index e0f8a0aaa7..dc9f775864 100644 --- a/modules/visual_script/visual_script_editor.h +++ b/modules/visual_script/visual_script_editor.h @@ -172,12 +172,12 @@ class VisualScriptEditor : public ScriptEditorBase { void connect_data(Ref<VisualScriptNode> vnode_old, Ref<VisualScriptNode> vnode, int new_id); - void _selected_connect_node(const String &p_text, const String &p_category); + void _selected_connect_node(const String &p_text, const String &p_category, const bool p_connecting = true); void connect_seq(Ref<VisualScriptNode> vnode_old, Ref<VisualScriptNode> vnode_new, int new_id); void _cancel_connect_node(); void _create_new_node(const String &p_text, const String &p_category, const Vector2 &p_point); - void _selected_new_virtual_method(const String &p_text, const String &p_category); + void _selected_new_virtual_method(const String &p_text, const String &p_category, const bool p_connecting = true); int error_line; |