aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/graph_edit.cpp
diff options
context:
space:
mode:
authorHubert Jarosz2016-02-29 23:36:19 +0100
committerHubert Jarosz2016-03-09 00:16:56 +0100
commitbf7f9244a95962c9833e68743726fe83a00b732c (patch)
tree8235e56bb65bd8b5b955acf7ea08b634e5e91fcc /scene/gui/graph_edit.cpp
parent19ea9ae1e5ad51e22c32d4f6593e93c7ef58f491 (diff)
downloadgodot-bf7f9244a95962c9833e68743726fe83a00b732c.tar.gz
godot-bf7f9244a95962c9833e68743726fe83a00b732c.tar.zst
godot-bf7f9244a95962c9833e68743726fe83a00b732c.zip
Diffstat (limited to 'scene/gui/graph_edit.cpp')
-rw-r--r--scene/gui/graph_edit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp
index c9c9dbd1d..912319458 100644
--- a/scene/gui/graph_edit.cpp
+++ b/scene/gui/graph_edit.cpp
@@ -617,7 +617,7 @@ void GraphEdit::_input_event(const InputEvent& p_ev) {
if (b.button_index==BUTTON_LEFT && b.pressed) {
- GraphNode *gn;
+ GraphNode *gn = NULL;
for(int i=get_child_count()-1;i>=0;i--) {
gn=get_child(i)->cast_to<GraphNode>();