You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #93779 from hayahane/fix_get_property_cs
[C#] Fix `get_property_list` get wrong order of properties
This commit is contained in:
@@ -1524,9 +1524,10 @@ void CSharpInstance::get_property_list(List<PropertyInfo> *p_properties) const {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
props.reverse();
|
||||||
for (PropertyInfo &prop : props) {
|
for (PropertyInfo &prop : props) {
|
||||||
validate_property(prop);
|
validate_property(prop);
|
||||||
p_properties->push_back(prop);
|
p_properties->push_front(prop);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user