Make most resources (save for packedscenes and scripts) reload if they change on disk. Closes #4059.

This commit is contained in:
Juan Linietsky
2016-06-27 13:17:20 -03:00
parent 88e28af5e3
commit efdcf205d2
9 changed files with 35 additions and 11 deletions

View File

@ -121,7 +121,7 @@ protected:
void _take_over_path(const String& p_path);
public:
virtual bool can_reload_from_file();
virtual bool editor_can_reload_from_file();
virtual void reload_from_file();
void register_owner(Object *p_owner);