Added variations to get_type_list()

This commit is contained in:
QuirkyLemon 2023-10-28 17:25:35 -05:00
parent 9144457484
commit b3970336ce

View file

@ -1240,6 +1240,11 @@ void Theme::get_type_list(List<StringName> *p_list) const {
types.insert(E.key);
}
// Variations.
for (const KeyValue<StringName, StringName> &E : variation_map) {
types.insert(E.key);
}
for (const StringName &E : types) {
p_list->push_back(E);
}