Fix crash on documentation generation on macOS.
This commit is contained in:
parent
a92921ae49
commit
fc49964de4
2 changed files with 6 additions and 3 deletions
|
@ -830,9 +830,10 @@ bool EditorExportPlatformAndroid::_uses_vulkan() {
|
||||||
void EditorExportPlatformAndroid::_notification(int p_what) {
|
void EditorExportPlatformAndroid::_notification(int p_what) {
|
||||||
#ifndef ANDROID_ENABLED
|
#ifndef ANDROID_ENABLED
|
||||||
if (p_what == NOTIFICATION_POSTINITIALIZE) {
|
if (p_what == NOTIFICATION_POSTINITIALIZE) {
|
||||||
ERR_FAIL_NULL(EditorExport::get_singleton());
|
if (EditorExport::get_singleton()) {
|
||||||
EditorExport::get_singleton()->connect_presets_runnable_updated(callable_mp(this, &EditorExportPlatformAndroid::_update_preset_status));
|
EditorExport::get_singleton()->connect_presets_runnable_updated(callable_mp(this, &EditorExportPlatformAndroid::_update_preset_status));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -127,8 +127,10 @@ String EditorExportPlatformIOS::get_export_option_warning(const EditorExportPres
|
||||||
void EditorExportPlatformIOS::_notification(int p_what) {
|
void EditorExportPlatformIOS::_notification(int p_what) {
|
||||||
#ifdef MACOS_ENABLED
|
#ifdef MACOS_ENABLED
|
||||||
if (p_what == NOTIFICATION_POSTINITIALIZE) {
|
if (p_what == NOTIFICATION_POSTINITIALIZE) {
|
||||||
|
if (EditorExport::get_singleton()) {
|
||||||
EditorExport::get_singleton()->connect_presets_runnable_updated(callable_mp(this, &EditorExportPlatformIOS::_update_preset_status));
|
EditorExport::get_singleton()->connect_presets_runnable_updated(callable_mp(this, &EditorExportPlatformIOS::_update_preset_status));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue