From b3970336ce9eaa143a4ed9f0ee75a727ae657c69 Mon Sep 17 00:00:00 2001 From: QuirkyLemon Date: Sat, 28 Oct 2023 17:25:35 -0500 Subject: [PATCH] Added variations to get_type_list() --- scene/resources/theme.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scene/resources/theme.cpp b/scene/resources/theme.cpp index d2a1519d490..d57a0f6b387 100644 --- a/scene/resources/theme.cpp +++ b/scene/resources/theme.cpp @@ -1240,6 +1240,11 @@ void Theme::get_type_list(List *p_list) const { types.insert(E.key); } + // Variations. + for (const KeyValue &E : variation_map) { + types.insert(E.key); + } + for (const StringName &E : types) { p_list->push_back(E); }