From 0461cc5ba2e5ad61f9375cef7c7eb09ea23665ce Mon Sep 17 00:00:00 2001 From: David Snopek Date: Mon, 30 Jan 2023 12:55:44 -0600 Subject: 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(-) (limited to 'editor/export') diff --git a/editor/export/editor_export_platform.cpp b/editor/export/editor_export_platform.cpp index b2a3085c36..fe67813d65 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) { -- cgit v1.2.3