From 66cefde2b044a0a2d832a3952f3f9754f7d2c4d5 Mon Sep 17 00:00:00 2001 From: Tomasz Chabora Date: Wed, 27 Nov 2019 21:07:35 +0100 Subject: [PATCH] Fix box selection being cancelled immediately --- editor/plugins/canvas_item_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index 20b4cf43bf8..9894c8c562f 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -2238,6 +2238,7 @@ bool CanvasItemEditor::_gui_input_select(const Ref &p_event) { // Clear the selection if not additive editor_selection->clear(); viewport->update(); + selected_from_canvas = true; }; drag_from = click;