From ca90dd302b7ebff4ceb3ebc7070dc4c17d626ec0 Mon Sep 17 00:00:00 2001 From: Alexandre LittleWhite Laurent Date: Wed, 3 Oct 2018 22:12:59 +0200 Subject: [PATCH] Change global timestamp behaviour earlier --- editor/editor_node.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 10634473760..3bd76787468 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -3135,6 +3135,9 @@ bool EditorNode::is_scene_in_use(const String &p_path) { void EditorNode::register_editor_types() { + ResourceLoader::set_timestamp_on_load(true); + ResourceSaver::set_timestamp_on_save(true); + ClassDB::register_class(); ClassDB::register_class(); ClassDB::register_class(); @@ -4826,9 +4829,6 @@ EditorNode::EditorNode() { ResourceLoader::set_error_notify_func(this, _load_error_notify); 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 Ref import_texture; import_texture.instance();