From fc70824f7c6ab1944d54194f54b816e55671e177 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Wed, 31 Aug 2016 17:58:51 -0300 Subject: More improvements to visual script.. fixed a bug of not saving when sub-nodes changed. --- core/io/resource_format_xml.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/io/resource_format_xml.cpp') diff --git a/core/io/resource_format_xml.cpp b/core/io/resource_format_xml.cpp index 0d545b16f..44fbaf02a 100644 --- a/core/io/resource_format_xml.cpp +++ b/core/io/resource_format_xml.cpp @@ -2800,6 +2800,10 @@ Error ResourceFormatSaverXMLInstance::save(const String &p_path,const RES& p_res if (takeover_paths) { res->set_path(p_path+"::"+itos(idx),true); } +#ifdef TOOLS_ENABLED + res->set_edited(false); +#endif + } write_string("\n",false); -- cgit v1.2.3-70-g09d2