Fix selection stuck after saving scene

This commit is contained in:
Hilderin committed 2024-09-04 19:12:30 -04:00
1 parent b6223c0df0
commit 613d4d10cb
2 files changed
+5 -1

No files matched your search

+3
View File
@@ -3077,8 +3077,11 @@ void Node3DEditorViewport::_notification(int p_what) {
update_preview_node = false;
} break;
case NOTIFICATION_APPLICATION_FOCUS_OUT:
case NOTIFICATION_WM_WINDOW_FOCUS_OUT: {
set_freelook_active(false);
cursor.region_select = false;
surface->queue_redraw();
} break;
case NOTIFICATION_ENTER_TREE: {