diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2022-07-14 14:35:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-14 14:35:00 +0200 |
| commit | 748609feacb7af3081cd9dbcd101ad30ed31d7b2 (patch) | |
| tree | 0490e5b8eb79f2f4623d902f042f622b8ee5e511 /editor/plugins/canvas_item_editor_plugin.cpp | |
| parent | 5fec0d232a41a6e99bf4e00222a88bce719637cc (diff) | |
| parent | 38d8cb4782260e2dd341ee0544b3c6c1e292515f (diff) | |
| download | redot-engine-748609feacb7af3081cd9dbcd101ad30ed31d7b2.tar.gz | |
Merge pull request #62993 from KoBeWi/drash
Fix drag_selection crash on scene close
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index 7e525a4698..6dfa11642c 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -3645,7 +3645,7 @@ void CanvasItemEditor::_draw_hover() { } void CanvasItemEditor::_draw_transform_message() { - if (drag_selection.is_empty() || !drag_selection.front()->get()) { + if (drag_type == DRAG_NONE || drag_selection.is_empty() || !drag_selection.front()->get()) { return; } String transform_message; |
