mirror of
https://github.com/godotengine/godot.git
synced 2025-02-10 12:50:55 +00:00
Change global timestamp behaviour earlier
This commit is contained in:
parent
74bf67c3a6
commit
ca90dd302b
@ -3135,6 +3135,9 @@ bool EditorNode::is_scene_in_use(const String &p_path) {
|
|||||||
|
|
||||||
void EditorNode::register_editor_types() {
|
void EditorNode::register_editor_types() {
|
||||||
|
|
||||||
|
ResourceLoader::set_timestamp_on_load(true);
|
||||||
|
ResourceSaver::set_timestamp_on_save(true);
|
||||||
|
|
||||||
ClassDB::register_class<EditorPlugin>();
|
ClassDB::register_class<EditorPlugin>();
|
||||||
ClassDB::register_class<EditorImportPlugin>();
|
ClassDB::register_class<EditorImportPlugin>();
|
||||||
ClassDB::register_class<EditorScript>();
|
ClassDB::register_class<EditorScript>();
|
||||||
@ -4826,9 +4829,6 @@ EditorNode::EditorNode() {
|
|||||||
ResourceLoader::set_error_notify_func(this, _load_error_notify);
|
ResourceLoader::set_error_notify_func(this, _load_error_notify);
|
||||||
ResourceLoader::set_dependency_error_notify_func(this, _dependency_error_report);
|
ResourceLoader::set_dependency_error_notify_func(this, _dependency_error_report);
|
||||||
|
|
||||||
ResourceLoader::set_timestamp_on_load(true);
|
|
||||||
ResourceSaver::set_timestamp_on_save(true);
|
|
||||||
|
|
||||||
{ //register importers at the beginning, so dialogs are created with the right extensions
|
{ //register importers at the beginning, so dialogs are created with the right extensions
|
||||||
Ref<ResourceImporterTexture> import_texture;
|
Ref<ResourceImporterTexture> import_texture;
|
||||||
import_texture.instance();
|
import_texture.instance();
|
||||||
|
Loading…
Reference in New Issue
Block a user