From efdcf205d2b428580ee9b4a50572649bc06b4276 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 27 Jun 2016 13:17:20 -0300 Subject: Make most resources (save for packedscenes and scripts) reload if they change on disk. Closes #4059. --- core/script_language.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/script_language.h') diff --git a/core/script_language.h b/core/script_language.h index 51fb351fd..6d75b83aa 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(); -- cgit v1.2.3-70-g09d2