summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authornikitalita <69168929+nikitalita@users.noreply.github.com>2023-03-22 18:51:17 -0700
committerYuri Sizov <yuris@humnom.net>2023-03-27 17:48:02 +0200
commit7a827f979e70edebc9e61856f11e594d26ec779d (patch)
tree828e8b79d9860b7fe1255c125629113cd9109372 /editor
parentb3f121d108b02a3577c283c02c4d12eb97f331ba (diff)
Fix ResourceImporterLayeredTexture::import() high_quality type
(cherry picked from commit 68a6505f41e8c3254155122b0153c074a80f72c8)
Diffstat (limited to 'editor')
-rw-r--r--editor/import/resource_importer_layered_texture.cpp2
1 files changed, 1 insertions, 1 deletions
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<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"];