diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-19 17:06:46 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-19 17:06:46 +0100 |
commit | 35bf1e11d86cffb33e4b36b5ce984710e2837fa7 (patch) | |
tree | 070789ba47243daa8ac7cc6f7621391c8911dd5c /platform/ios/export/export_plugin.cpp | |
parent | aa414ab4120503ce6126fdb6a36dd709db3e7307 (diff) | |
parent | fc49964de47c420c7cc3344776ea4158f586ad9e (diff) | |
download | redot-engine-35bf1e11d86cffb33e4b36b5ce984710e2837fa7.tar.gz |
Merge pull request #88545 from bruvzg/fix_exp_doc_gen
Fix crash on documentation generation on macOS.
Diffstat (limited to 'platform/ios/export/export_plugin.cpp')
-rw-r--r-- | platform/ios/export/export_plugin.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/ios/export/export_plugin.cpp b/platform/ios/export/export_plugin.cpp index ea2b23cfb9..91d75b0629 100644 --- a/platform/ios/export/export_plugin.cpp +++ b/platform/ios/export/export_plugin.cpp @@ -127,7 +127,9 @@ String EditorExportPlatformIOS::get_export_option_warning(const EditorExportPres void EditorExportPlatformIOS::_notification(int p_what) { #ifdef MACOS_ENABLED if (p_what == NOTIFICATION_POSTINITIALIZE) { - EditorExport::get_singleton()->connect_presets_runnable_updated(callable_mp(this, &EditorExportPlatformIOS::_update_preset_status)); + if (EditorExport::get_singleton()) { + EditorExport::get_singleton()->connect_presets_runnable_updated(callable_mp(this, &EditorExportPlatformIOS::_update_preset_status)); + } } #endif } |