Do not update script editor before scene root init.
This commit is contained in:
@@ -1918,8 +1918,10 @@ void ScriptEditor::_notification(int p_what) {
|
|||||||
} break;
|
} break;
|
||||||
|
|
||||||
case NOTIFICATION_APPLICATION_FOCUS_IN: {
|
case NOTIFICATION_APPLICATION_FOCUS_IN: {
|
||||||
_test_script_times_on_disk();
|
if (is_inside_tree()) {
|
||||||
_update_modified_scripts_for_external_editor();
|
_test_script_times_on_disk();
|
||||||
|
_update_modified_scripts_for_external_editor();
|
||||||
|
}
|
||||||
} break;
|
} break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user