From 7a827f979e70edebc9e61856f11e594d26ec779d Mon Sep 17 00:00:00 2001 From: nikitalita <69168929+nikitalita@users.noreply.github.com> Date: Wed, 22 Mar 2023 18:51:17 -0700 Subject: Fix ResourceImporterLayeredTexture::import() high_quality type (cherry picked from commit 68a6505f41e8c3254155122b0153c074a80f72c8) --- editor/import/resource_importer_layered_texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor') diff --git a/editor/import/resource_importer_layered_texture.cpp b/editor/import/resource_importer_layered_texture.cpp index 10a0c2662f..cce42d73a5 100644 --- a/editor/import/resource_importer_layered_texture.cpp +++ b/editor/import/resource_importer_layered_texture.cpp @@ -286,7 +286,7 @@ void ResourceImporterLayeredTexture::_save_tex(Vector> p_images, cons Error ResourceImporterLayeredTexture::import(const String &p_source_file, const String &p_save_path, const HashMap &p_options, List *r_platform_variants, List *r_gen_files, Variant *r_metadata) { int compress_mode = p_options["compress/mode"]; float lossy = p_options["compress/lossy_quality"]; - float high_quality = p_options["compress/high_quality"]; + bool high_quality = p_options["compress/high_quality"]; int hdr_compression = p_options["compress/hdr_compression"]; bool mipmaps = p_options["mipmaps/generate"]; -- cgit v1.2.3