Fix ResourceImporterLayeredTexture::import() high_quality type

(cherry picked from commit 68a6505f41)
This commit is contained in:
nikitalita 2023-03-22 18:51:17 -07:00 committed by Yuri Sizov
parent b3f121d108
commit 7a827f979e
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ void ResourceImporterLayeredTexture::_save_tex(Vector<Ref<Image>> p_images, cons
Error ResourceImporterLayeredTexture::import(const String &p_source_file, const String &p_save_path, const HashMap<StringName, Variant> &p_options, List<String> *r_platform_variants, List<String> *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"];