summaryrefslogtreecommitdiffstats
path: root/core/io/resource_format_binary.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-08-31 17:58:51 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-08-31 17:58:51 -0300
commitfc70824f7c6ab1944d54194f54b816e55671e177 (patch)
treebfb5645fa22c724d9f2f8724c809f6319ca51579 /core/io/resource_format_binary.cpp
parent5567350e1bf28ca9468b8321378f19e67ee03909 (diff)
downloadredot-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_binary.cpp')
-rw-r--r--core/io/resource_format_binary.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/io/resource_format_binary.cpp b/core/io/resource_format_binary.cpp
index a620dc0fef..0544fd6ba8 100644
--- a/core/io/resource_format_binary.cpp
+++ b/core/io/resource_format_binary.cpp
@@ -2175,6 +2175,9 @@ Error ResourceFormatSaverBinaryInstance::save(const String &p_path,const RES& p_
if (takeover_paths) {
r->set_path(p_path+"::"+itos(r->get_subindex()),true);
}
+#ifdef TOOLS_ENABLED
+ r->set_edited(false);
+#endif
} else {
save_unicode_string(r->get_path()); //actual external
}