diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-06-16 21:47:28 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-06-16 21:49:37 -0300 |
commit | b19225bfce3dab39f8ce6b1ecf610ea0ba650f99 (patch) | |
tree | 7946e6eabae1c679a404a9146343fe2b6f2672b7 /core/global_config.cpp | |
parent | 8a03a29233d5ef4cf5be3aeebd76cb77c82bc983 (diff) |
-Fix freezes caused by etccomp2, closes #9183
-Normalmaps are now detected and imported as RGTC, both in S3TC and ETC2, this improves their quality.
Diffstat (limited to 'core/global_config.cpp')
-rw-r--r-- | core/global_config.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/global_config.cpp b/core/global_config.cpp index 0729d4c482..ba0a7f3e31 100644 --- a/core/global_config.cpp +++ b/core/global_config.cpp @@ -970,10 +970,10 @@ GlobalConfig::GlobalConfig() { GLOBAL_DEF("debug/profiler/max_functions", 16384); - GLOBAL_DEF("compression/zstd_compression_level", 3); - custom_prop_info["compression/zstd_compression_level"] = PropertyInfo(Variant::INT, "compression/zstd_compression_level", PROPERTY_HINT_RANGE, "1,22,1"); - GLOBAL_DEF("compression/zlib_compression_level", Z_DEFAULT_COMPRESSION); - custom_prop_info["compression/zlib_compression_level"] = PropertyInfo(Variant::INT, "compression/zlib_compression_level", PROPERTY_HINT_RANGE, "-1,9,1"); + GLOBAL_DEF("compression/zstd/compression_level", 3); + custom_prop_info["compression/zstd/compression_level"] = PropertyInfo(Variant::INT, "compression/zstd/compression_level", PROPERTY_HINT_RANGE, "1,22,1"); + GLOBAL_DEF("compression/zlib/compression_level", Z_DEFAULT_COMPRESSION); + custom_prop_info["compression/zlib/compression_level"] = PropertyInfo(Variant::INT, "compression/zlib/compression_level", PROPERTY_HINT_RANGE, "-1,9,1"); using_datapack = false; } |