Sort xml files, so order is constant

Makes xml format work better with version control systems.
This commit is contained in:
est31
2015-05-01 02:53:41 +02:00
parent 5c6b31c024
commit b2b5143678
6 changed files with 58 additions and 18 deletions

View File

@ -111,6 +111,9 @@ struct PropertyInfo {
PropertyInfo( Variant::Type p_type, const String p_name, PropertyHint p_hint=PROPERTY_HINT_NONE, const String& p_hint_string="",uint32_t p_usage=PROPERTY_USAGE_DEFAULT) {
type=p_type; name=p_name; hint=p_hint; hint_string=p_hint_string; usage=p_usage;
}
bool operator<(const PropertyInfo& p_info) const {
return name<p_info.name;
}
};