diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-08-31 17:58:51 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-08-31 17:58:51 -0300 |
commit | fc70824f7c6ab1944d54194f54b816e55671e177 (patch) | |
tree | bfb5645fa22c724d9f2f8724c809f6319ca51579 /core/io/resource_format_xml.cpp | |
parent | 5567350e1bf28ca9468b8321378f19e67ee03909 (diff) | |
download | redot-engine-fc70824f7c6ab1944d54194f54b816e55671e177.tar.gz |
More improvements to visual script..
fixed a bug of not saving when sub-nodes changed.
Diffstat (limited to 'core/io/resource_format_xml.cpp')
-rw-r--r-- | core/io/resource_format_xml.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/io/resource_format_xml.cpp b/core/io/resource_format_xml.cpp index 0d545b16f5..44fbaf02ac 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); |