diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2023-02-12 10:43:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-12 10:43:25 +0100 |
commit | de31545f64eea8ed1aed7109e17db8730ef7432e (patch) | |
tree | 8fbde35a11ebeb1250e2fcc5eb96bf23d0210638 | |
parent | c3a04f71fd4e1b417dd579d23cf3281821f55e86 (diff) | |
parent | 3aab79914ca9aeee5d8a8e6f3a89ba735631c208 (diff) |
Merge pull request #73137 from Geometror/graphedit-hotzone-snapping-fix
Fix GraphEdit port hotzone snapping
-rw-r--r-- | scene/gui/graph_edit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp index a6a2fb8d7c..58b820c31f 100644 --- a/scene/gui/graph_edit.cpp +++ b/scene/gui/graph_edit.cpp @@ -860,7 +860,7 @@ bool GraphEdit::is_in_port_hotzone(const Vector2 &pos, const Vector2 &p_mouse_po } for (int i = 0; i < get_child_count(); i++) { - Control *child = Object::cast_to<Control>(get_child(i)); + GraphNode *child = Object::cast_to<GraphNode>(get_child(i)); if (!child) { continue; } |