diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2021-07-21 11:22:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-21 11:22:59 +0200 |
| commit | b5f5fac840914ec84ef373a38381432470e2da36 (patch) | |
| tree | 54948bc278d6ef3615d595b3d57bab6228e30557 /modules/visual_script/visual_script_editor.h | |
| parent | a42e892fde175846fcab32cf57918ca27e884dea (diff) | |
| parent | 10b4cb75f2fb79aef12914d9507803204e398bf3 (diff) | |
| download | redot-engine-b5f5fac840914ec84ef373a38381432470e2da36.tar.gz | |
Merge pull request #49749 from DavidCambre/VisualScriptFunction_Call_Set_Get_Improvement-2
VisualScriptFunctionNodes Improvements
Diffstat (limited to 'modules/visual_script/visual_script_editor.h')
| -rw-r--r-- | modules/visual_script/visual_script_editor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/visual_script/visual_script_editor.h b/modules/visual_script/visual_script_editor.h index 1f0f087be7..3b7ed3dba6 100644 --- a/modules/visual_script/visual_script_editor.h +++ b/modules/visual_script/visual_script_editor.h @@ -179,6 +179,9 @@ class VisualScriptEditor : public ScriptEditorBase { void connect_data(Ref<VisualScriptNode> vnode_old, Ref<VisualScriptNode> vnode, int new_id); + NodePath drop_path; + Node *drop_node = nullptr; + Vector2 drop_position; 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); @@ -270,9 +273,6 @@ class VisualScriptEditor : public ScriptEditorBase { void _graph_ofs_changed(const Vector2 &p_ofs); void _comment_node_resized(const Vector2 &p_new_size, int p_node); - int selecting_method_id; - void _selected_method(const String &p_method, const String &p_type, const bool p_connecting); - void _draw_color_over_button(Object *obj, Color p_color); void _button_resource_previewed(const String &p_path, const Ref<Texture2D> &p_preview, const Ref<Texture2D> &p_small_preview, Variant p_ud); |
