diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-06-27 13:17:20 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-06-27 13:17:20 -0300 |
commit | efdcf205d2b428580ee9b4a50572649bc06b4276 (patch) | |
tree | 3d091cf77bd4033436a0d33314c021efbe6e4239 /core/script_language.h | |
parent | 88e28af5e360d826ee0e83944dff0003375e3daf (diff) | |
download | redot-engine-efdcf205d2b428580ee9b4a50572649bc06b4276.tar.gz |
Make most resources (save for packedscenes and scripts) reload if they change on disk. Closes #4059.
Diffstat (limited to 'core/script_language.h')
-rw-r--r-- | core/script_language.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/script_language.h b/core/script_language.h index 51fb351fde..6d75b83aaf 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -78,6 +78,7 @@ class Script : public Resource { protected: + virtual bool editor_can_reload_from_file() { return false; } // this is handled by editor better void _notification( int p_what); static void _bind_methods(); |