summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-30 20:27:41 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-30 20:27:41 +0100
commit1a37aefbf9fbac494294f00e675f665a5f44c347 (patch)
tree19879f5c55268f422486b48a4558540b6a8b3b76
parent186447d4c5fa7641c1af017c6e21025b5bae2850 (diff)
parent0461cc5ba2e5ad61f9375cef7c7eb09ea23665ce (diff)
Merge pull request #72402 from dsnopek/openxr-action-map-export-regression
Only customize resources during export if there are any export plugins in use
-rw-r--r--editor/export/editor_export_platform.cpp6
1 files changed, 3 insertions, 3 deletions
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) {