[EditorExportPlatform] Move initialization to a dedicated method.

This commit is contained in:
Pāvels Nadtočajevs 2025-07-16 08:55:23 +03:00
parent 7c472e655f
commit f20e5152ad
No known key found for this signature in database
GPG key ID: 8413210218EF35D2
21 changed files with 56 additions and 31 deletions

View file

@ -127,6 +127,7 @@ void EditorExport::_bind_methods() {
}
void EditorExport::add_export_platform(const Ref<EditorExportPlatform> &p_platform) {
p_platform->initialize();
export_platforms.push_back(p_platform);
should_update_presets = true;