diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-11-28 09:28:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-28 09:28:22 +0100 |
commit | 1f4cbc0f842e8377fa5fc292d5066dab1a4474ac (patch) | |
tree | 06f8b7d5eac4b0d9e991835e077a6e7740ba6987 /editor | |
parent | da880520caf978b568b4db1585d7a03df5e2a569 (diff) | |
parent | 66cefde2b044a0a2d832a3952f3f9754f7d2c4d5 (diff) |
Merge pull request #33952 from KoBeWi/not_my_fault
Fix box selection being cancelled immediately
Diffstat (limited to 'editor')
-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; |