diff options
author | Paulb23 <p_batty@hotmail.co.uk> | 2018-12-02 16:24:23 +0000 |
---|---|---|
committer | Paulb23 <p_batty@hotmail.co.uk> | 2018-12-02 16:24:23 +0000 |
commit | 69fe17639e2a5b7ca31ba5ccf2ac49a9b9ae293e (patch) | |
tree | 3435630aedbe7928951dfffe228a66108b71e319 /core/io/resource_saver.h | |
parent | ca28c455bfdc8408485c217c17f07011c0b43f64 (diff) | |
download | redot-engine-69fe17639e2a5b7ca31ba5ccf2ac49a9b9ae293e.tar.gz |
Fix text files constantly asking for reload as no last modified time
Diffstat (limited to 'core/io/resource_saver.h')
-rw-r--r-- | core/io/resource_saver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/io/resource_saver.h b/core/io/resource_saver.h index 6134d9db57..cdd43292a2 100644 --- a/core/io/resource_saver.h +++ b/core/io/resource_saver.h @@ -76,6 +76,8 @@ public: static void add_resource_format_saver(ResourceFormatSaver *p_format_saver, bool p_at_front = false); static void set_timestamp_on_save(bool p_timestamp) { timestamp_on_save = p_timestamp; } + static bool get_timestamp_on_save() { return timestamp_on_save; } + static void set_save_callback(ResourceSavedCallback p_callback); }; |