1
0
Fork 0

Do not update script editor before scene root init.

This commit is contained in:
Pāvels Nadtočajevs 2026-01-20 08:13:39 +02:00
parent 895630e853
commit bc0ffe15f2
No known key found for this signature in database
GPG Key ID: 8413210218EF35D2
1 changed files with 4 additions and 2 deletions

View File

@ -1918,8 +1918,10 @@ void ScriptEditor::_notification(int p_what) {
} break;
case NOTIFICATION_APPLICATION_FOCUS_IN: {
_test_script_times_on_disk();
_update_modified_scripts_for_external_editor();
if (is_inside_tree()) {
_test_script_times_on_disk();
_update_modified_scripts_for_external_editor();
}
} break;
}
}