From 1bdc14acea6b2ce932e6cf01dc9d7942f72503e9 Mon Sep 17 00:00:00 2001 From: volzhs Date: Thu, 25 Mar 2021 13:21:34 +0900 Subject: [PATCH] Fix drawing boxselection on GraphEdit --- scene/gui/graph_edit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp index 71d31434d46..5baad18f7aa 100644 --- a/scene/gui/graph_edit.cpp +++ b/scene/gui/graph_edit.cpp @@ -1312,6 +1312,7 @@ void GraphEdit::_gui_input(const Ref &p_ev) { if (b->get_button_index() == BUTTON_LEFT && !b->is_pressed() && box_selecting) { box_selecting = false; + box_selecting_rect = Rect2(); previus_selected.clear(); top_layer->update(); minimap->update();