mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Fix doctool
crash and errors on macOS.
This commit is contained in:
parent
8de08c7c21
commit
ec37e7e97f
2 changed files with 4 additions and 2 deletions
|
@ -2438,7 +2438,7 @@ void EditorExportPlatformAppleEmbedded::_check_for_changes_poll_thread(void *ud)
|
||||||
|
|
||||||
// Enum real devices (via ios_deploy, pre Xcode 15).
|
// Enum real devices (via ios_deploy, pre Xcode 15).
|
||||||
String ios_deploy_setting = "export/" + ea->get_platform_name() + "/ios_deploy";
|
String ios_deploy_setting = "export/" + ea->get_platform_name() + "/ios_deploy";
|
||||||
if (EditorSettings::get_singleton()->has_setting(ios_deploy_setting)) {
|
if (EditorSettings::get_singleton() && EditorSettings::get_singleton()->has_setting(ios_deploy_setting)) {
|
||||||
String idepl = EDITOR_GET(ios_deploy_setting);
|
String idepl = EDITOR_GET(ios_deploy_setting);
|
||||||
if (ea->has_runnable_preset.is_set() && !idepl.is_empty()) {
|
if (ea->has_runnable_preset.is_set() && !idepl.is_empty()) {
|
||||||
String devices_json;
|
String devices_json;
|
||||||
|
|
|
@ -847,7 +847,9 @@ void ScriptCreateDialog::_bind_methods() {
|
||||||
}
|
}
|
||||||
|
|
||||||
ScriptCreateDialog::ScriptCreateDialog() {
|
ScriptCreateDialog::ScriptCreateDialog() {
|
||||||
EDITOR_DEF("_script_setup_templates_dictionary", Dictionary());
|
if (EditorSettings::get_singleton()) {
|
||||||
|
EDITOR_DEF("_script_setup_templates_dictionary", Dictionary());
|
||||||
|
}
|
||||||
|
|
||||||
/* Main Controls */
|
/* Main Controls */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue