Browse Source

Merge pull request #72402 from dsnopek/openxr-action-map-export-regression

Only customize resources during export if there are any export plugins in use
Rémi Verschelde 2 years ago
parent
commit
1a37aefbf9
1 changed files with 3 additions and 3 deletions
  1. 3 3
      editor/export/editor_export_platform.cpp

+ 3 - 3
editor/export/editor_export_platform.cpp

@@ -785,10 +785,10 @@ String EditorExportPlatform::_export_customize(const String &p_path, LocalVector
 					break;
 					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) {
 		if (modified || p_force_save) {