From 0461cc5ba2e5ad61f9375cef7c7eb09ea23665ce Mon Sep 17 00:00:00 2001 From: David Snopek Date: Mon, 30 Jan 2023 12:55:44 -0600 Subject: [PATCH] Only customize resources during export if there are any export plugins in use --- editor/export/editor_export_platform.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editor/export/editor_export_platform.cpp b/editor/export/editor_export_platform.cpp index b2a3085c363..fe67813d655 100644 --- a/editor/export/editor_export_platform.cpp +++ b/editor/export/editor_export_platform.cpp @@ -785,10 +785,10 @@ String EditorExportPlatform::_export_customize(const String &p_path, LocalVector break; } } - } - if (_export_customize_object(res.ptr(), customize_resources_plugins)) { - modified = true; + if (_export_customize_object(res.ptr(), customize_resources_plugins)) { + modified = true; + } } if (modified || p_force_save) {