summaryrefslogtreecommitdiff
path: root/editor/export
diff options
context:
space:
mode:
authorDavid Snopek <dsnopek@gmail.com>2023-01-30 12:55:44 -0600
committerDavid Snopek <dsnopek@gmail.com>2023-01-30 12:57:50 -0600
commit0461cc5ba2e5ad61f9375cef7c7eb09ea23665ce (patch)
tree603630badf1a1974917ded6be382f96d06d2647f /editor/export
parent551f5191e5dbc1d1a43f99b13d5dbbf7f598dc58 (diff)
Only customize resources during export if there are any export plugins in use
Diffstat (limited to 'editor/export')
-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) {