diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2019-11-27 21:07:35 +0100 |
---|---|---|
committer | Tomasz Chabora <kobewi4e@gmail.com> | 2019-11-27 21:07:51 +0100 |
commit | 66cefde2b044a0a2d832a3952f3f9754f7d2c4d5 (patch) | |
tree | 78197dbf12c88605b48a2861ade57c69ef13a01a /editor/plugins | |
parent | 1af9701caacc0739f4817b0bf39f46ff6d90a146 (diff) |
Fix box selection being cancelled immediately
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index 20b4cf43bf..9894c8c562 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<InputEvent> &p_event) { // Clear the selection if not additive editor_selection->clear(); viewport->update(); + selected_from_canvas = true; }; drag_from = click; |