From 04fb3402c59d6d55435d4eb83eda23707b5ddf9a Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 3 May 2015 20:31:50 -0300 Subject: -Make sure properties are exported the way they should in xml, fixes #1799 --- core/io/resource_format_xml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 5922d8390..4771c31de 100644 --- a/core/io/resource_format_xml.cpp +++ b/core/io/resource_format_xml.cpp @@ -2563,7 +2563,7 @@ Error ResourceFormatSaverXMLInstance::save(const String &p_path,const RES& p_res List property_list; res->get_property_list(&property_list); - property_list.sort(); +// property_list.sort(); for(List::Element *PE = property_list.front();PE;PE=PE->next()) { -- cgit v1.2.3-70-g09d2 From 9b01f5954afbfa61169a7afd2c3d329e7a2882de Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 4 May 2015 00:55:21 -0300 Subject: solve invalid pointer, fixes #1793 --- core/io/resource_format_xml.cpp | 1 + 1 file changed, 1 insertion(+) (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 4771c31de..9de33e7ef 100644 --- a/core/io/resource_format_xml.cpp +++ b/core/io/resource_format_xml.cpp @@ -309,6 +309,7 @@ Error ResourceInteractiveLoaderXML::_parse_array_element(Vector &buff,bool buff_max++; buff.resize(buff_max); + buffptr=buff.ptr(); } -- cgit v1.2.3-70-g09d2