Merge pull request #115161 from bruvzg/splash_tree

Do not update script editor before scene root init.
This commit is contained in:
Rémi Verschelde 2026-01-20 09:49:22 +01:00
commit 2c373ffc2c
No known key found for this signature in database
GPG key ID: C3336907360768E1

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;
}
}