From c78cbb523fda2ce682219a7eb5693a64859d5b6e Mon Sep 17 00:00:00 2001 From: Yuri Sizov Date: Tue, 23 Aug 2022 14:15:31 +0300 Subject: Extract editor color map and simplify SVG color conversion --- scene/resources/default_theme/default_theme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/resources/default_theme') diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index b96ee5c6c4..6d99073fa4 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -84,7 +84,7 @@ static Ref generate_icon(int p_index) { // with integer scales. const bool upsample = !Math::is_equal_approx(Math::round(scale), scale); ImageLoaderSVG img_loader; - img_loader.create_image_from_string(img, default_theme_icons_sources[p_index], scale, upsample, false); + img_loader.create_image_from_string(img, default_theme_icons_sources[p_index], scale, upsample, HashMap()); #endif return ImageTexture::create_from_image(img); -- cgit v1.2.3