You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Fix drag_selection crash on scene close
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user