From d84ba48d8f26522e74c18b5c57182f7cb0236dcb Mon Sep 17 00:00:00 2001 From: kobewi Date: Mon, 20 Nov 2023 21:57:21 +0100 Subject: [PATCH] Avoid saving scene while already saving the scene --- editor/editor_node.cpp | 6 ++++++ editor/editor_node.h | 1 + 2 files changed, 7 insertions(+) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 6012ff1f70a..b6c97f0c8f3 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -1761,6 +1761,10 @@ static void _reset_animation_mixers(Node *p_node, List> &E : anim_backups) { E.first->restore(E.second); diff --git a/editor/editor_node.h b/editor/editor_node.h index d4a8fc9aa8b..956058ecfcb 100644 --- a/editor/editor_node.h +++ b/editor/editor_node.h @@ -481,6 +481,7 @@ private: String _tmp_import_path; String external_file; String open_navigate; + String saving_scene; DynamicFontImportSettings *fontdata_import_settings = nullptr; SceneImportSettings *scene_import_settings = nullptr;