summaryrefslogtreecommitdiffstats
path: root/core/script_language.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-06-27 13:17:20 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-06-27 13:17:20 -0300
commitefdcf205d2b428580ee9b4a50572649bc06b4276 (patch)
tree3d091cf77bd4033436a0d33314c021efbe6e4239 /core/script_language.h
parent88e28af5e360d826ee0e83944dff0003375e3daf (diff)
downloadredot-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.h1
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();