Browse Source

-Make sure properties are exported the way they should in xml, fixes #1799

Juan Linietsky 10 năm trước cách đây
mục cha
commit
04fb3402c5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      core/io/resource_format_xml.cpp

+ 1 - 1
core/io/resource_format_xml.cpp

@@ -2563,7 +2563,7 @@ Error ResourceFormatSaverXMLInstance::save(const String &p_path,const RES& p_res
 
 		List<PropertyInfo> property_list;
 		res->get_property_list(&property_list);
-		property_list.sort();
+//		property_list.sort();
 		for(List<PropertyInfo>::Element *PE = property_list.front();PE;PE=PE->next()) {