From 7878edf18637b04d3bd2353d8a9549f22e69d206 Mon Sep 17 00:00:00 2001 From: nikitalita <69168929+nikitalita@users.noreply.github.com> Date: Tue, 23 Dec 2025 09:25:04 -0800 Subject: [PATCH 01/36] Add support for exporting DPITextures --- exporters/texture_exporter.cpp | 33 ++++++++++++++++++++++++++++++++- exporters/texture_exporter.h | 1 + 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/exporters/texture_exporter.cpp b/exporters/texture_exporter.cpp index 93cddfb8..992b1557 100644 --- a/exporters/texture_exporter.cpp +++ b/exporters/texture_exporter.cpp @@ -4,6 +4,7 @@ #include "compat/resource_loader_compat.h" #include "core/version_generated.gen.h" #include "gdre_test_macros.h" +#include "scene/resources/dpi_texture.h" #include "utility/common.h" #include "core/error/error_list.h" @@ -984,6 +985,31 @@ Error TextureExporter::_convert_layered_2d(const String &p_path, const String &d return OK; } +Error TextureExporter::_convert_svg(const String &p_path, const String &dest_path, Ref report) { + Error err; + Ref tex = ResourceCompatLoader::non_global_load(p_path, "", &err); + if (err == ERR_UNAVAILABLE) { + print_line("Did not convert deprecated SVG resource " + p_path); + return err; + } + String source = tex->get_source(); + ERR_FAIL_COND_V_MSG(source.is_empty(), ERR_FILE_CORRUPT, "SVG source is empty: " + p_path); + auto fa = FileAccess::open(dest_path, FileAccess::WRITE); + ERR_FAIL_COND_V_MSG(fa.is_null(), ERR_FILE_CANT_WRITE, "Cannot write to file: " + dest_path); + fa->store_string(source); + fa->close(); + if (report.is_valid() && report->get_import_info().is_valid() && report->get_import_info()->get_ver_major() >= 4) { + Dictionary params; + Ref res_info = ResourceInfo::get_info_from_resource(tex); + params["base_scale"] = tex->get_base_scale(); + params["saturation"] = tex->get_saturation(); + params["color_map"] = tex->get_color_map(); + params["compress"] = res_info.is_valid() ? res_info->is_compressed : true; + report->get_import_info()->set_params(params); + } + return OK; +} + Ref TextureExporter::export_resource(const String &output_dir, Ref iinfo) { String path = iinfo->get_path(); String source = iinfo->get_source_file(); @@ -1040,6 +1066,8 @@ Ref TextureExporter::export_resource(const String &output_dir, Ref return report; } } + String importer = iinfo->get_importer(); + // for Godot 2.x resources, we can easily rewrite the metadata to point to a renamed file with a different extension, // but this isn't the case for 3.x and greater, so we have to save in the original (lossy) format. String source_ext = source.get_extension().to_lower(); @@ -1085,7 +1113,6 @@ Ref TextureExporter::export_resource(const String &output_dir, Ref Error err = OK; String img_format = "bitmap"; - String importer = iinfo->get_importer(); String dest_path = output_dir.path_join(iinfo->get_export_dest().replace("res://", "")); if (importer == "image") { ResourceFormatLoaderImage rli; @@ -1119,6 +1146,8 @@ Ref TextureExporter::export_resource(const String &output_dir, Ref err = _convert_3d(path, dest_path, lossy, img_format, report); } else if (importer == "texture" || importer == "texture_2d") { err = _convert_tex(path, dest_path, lossy, img_format, report); + } else if (importer == "svg") { + err = _convert_svg(path, dest_path, report); } else { report->set_error(ERR_UNAVAILABLE); report->set_message("Unsupported texture importer: " + importer); @@ -1176,6 +1205,7 @@ void TextureExporter::get_handled_types(List *out) const { out->push_back("CompressedCubemap"); out->push_back("CompressedCubemapArray"); out->push_back("TextureArray"); + out->push_back("DPITexture"); } void TextureExporter::get_handled_importers(List *out) const { @@ -1191,6 +1221,7 @@ void TextureExporter::get_handled_importers(List *out) const { out->push_back("cubemap_array_texture"); out->push_back("texture_3d"); out->push_back("3d_texture"); + out->push_back("svg"); } String TextureExporter::get_name() const { diff --git a/exporters/texture_exporter.h b/exporters/texture_exporter.h index acafdeda..81d39d13 100644 --- a/exporters/texture_exporter.h +++ b/exporters/texture_exporter.h @@ -8,6 +8,7 @@ class TextureExporter : public ResourceExporter { Error _convert_tex(const String &p_path, const String &p_dst, bool lossy, String &image_format, Ref report = nullptr); Error _convert_atex(const String &p_path, const String &p_dst, bool lossy, String &image_format, Ref report = nullptr); Error _convert_bitmap(const String &p_path, const String &p_dst, bool lossy, Ref report = nullptr); + Error _convert_svg(const String &p_path, const String &p_dst, Ref report = nullptr); static Ref load_image_from_bitmap(const String p_path, Error *r_err); Error _convert_3d(const String &p_path, const String &p_dst, bool lossy, String &image_format, Ref report = nullptr); From a5d3f49d3fc71752cbb92df1c15a10fcbcb9fb04 Mon Sep 17 00:00:00 2001 From: nikitalita <69168929+nikitalita@users.noreply.github.com> Date: Tue, 23 Dec 2025 11:27:24 -0800 Subject: [PATCH 02/36] import all icons as DPITextures --- standalone/gdre_icons/gdre_File.svg.import | 41 ++++--------------- .../gdre_icons/gdre_FileBroken.svg.import | 41 ++++--------------- .../gdre_icons/gdre_FileBrowse.svg.import | 41 ++++--------------- .../gdre_icons/gdre_FileEncrypted.svg.import | 41 ++++--------------- standalone/gdre_icons/gdre_FileOk.svg.import | 41 ++++--------------- .../gdre_icons/gdre_FileWarning.svg.import | 41 ++++--------------- .../gdre_icons/gdre_GuiTabMenuHl.svg.import | 41 ++++--------------- standalone/gdre_icons/gdre_Import.svg.import | 41 ++++--------------- standalone/gdre_icons/gdre_Logo.svg.import | 41 ++++--------------- standalone/gdre_icons/gdre_LogoBig.svg.import | 41 ++++--------------- .../gdre_MaterialPreviewLight1.svg.import | 41 ++++--------------- .../gdre_MaterialPreviewLight2.svg.import | 41 ++++--------------- standalone/gdre_icons/gdre_Pack.svg.import | 41 ++++--------------- standalone/gdre_icons/gdre_Pause.svg.import | 41 ++++--------------- standalone/gdre_icons/gdre_Play.svg.import | 41 ++++--------------- standalone/gdre_icons/gdre_Reload.svg.import | 41 ++++--------------- standalone/gdre_icons/gdre_ResBT.svg.import | 41 ++++--------------- .../gdre_icons/gdre_ResOther.svg.import | 41 ++++--------------- standalone/gdre_icons/gdre_ResTB.svg.import | 41 ++++--------------- standalone/gdre_icons/gdre_Script.svg.import | 41 ++++--------------- standalone/gdre_icons/gdre_Search.svg.import | 41 ++++--------------- standalone/gdre_icons/gdre_Stop.svg.import | 41 ++++--------------- .../gdre_icons/gdre_Translation.svg.import | 41 ++++--------------- 23 files changed, 184 insertions(+), 759 deletions(-) diff --git a/standalone/gdre_icons/gdre_File.svg.import b/standalone/gdre_icons/gdre_File.svg.import index 70b4b8e9..23ce45bf 100644 --- a/standalone/gdre_icons/gdre_File.svg.import +++ b/standalone/gdre_icons/gdre_File.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://blinaucesmvhv" -path="res://.godot/imported/gdre_File.svg-2a8ee674ab13ea3c8b688fd221f5e1f4.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_File.svg-2a8ee674ab13ea3c8b688fd221f5e1f4.dpitex" [deps] source_file="res://gdre_icons/gdre_File.svg" -dest_files=["res://.godot/imported/gdre_File.svg-2a8ee674ab13ea3c8b688fd221f5e1f4.ctex"] +dest_files=["res://.godot/imported/gdre_File.svg-2a8ee674ab13ea3c8b688fd221f5e1f4.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=1.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=1.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_FileBroken.svg.import b/standalone/gdre_icons/gdre_FileBroken.svg.import index 1e545dbf..484cff7a 100644 --- a/standalone/gdre_icons/gdre_FileBroken.svg.import +++ b/standalone/gdre_icons/gdre_FileBroken.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://24tpf4ndjyht" -path="res://.godot/imported/gdre_FileBroken.svg-47f2470a73614cd1e3f592d93dd1274d.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_FileBroken.svg-47f2470a73614cd1e3f592d93dd1274d.dpitex" [deps] source_file="res://gdre_icons/gdre_FileBroken.svg" -dest_files=["res://.godot/imported/gdre_FileBroken.svg-47f2470a73614cd1e3f592d93dd1274d.ctex"] +dest_files=["res://.godot/imported/gdre_FileBroken.svg-47f2470a73614cd1e3f592d93dd1274d.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=1.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=1.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_FileBrowse.svg.import b/standalone/gdre_icons/gdre_FileBrowse.svg.import index 50dac283..fddcba11 100644 --- a/standalone/gdre_icons/gdre_FileBrowse.svg.import +++ b/standalone/gdre_icons/gdre_FileBrowse.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://bwbdnwnpkyycv" -path="res://.godot/imported/gdre_FileBrowse.svg-85768795b621c9574e535334df57a501.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_FileBrowse.svg-85768795b621c9574e535334df57a501.dpitex" [deps] source_file="res://gdre_icons/gdre_FileBrowse.svg" -dest_files=["res://.godot/imported/gdre_FileBrowse.svg-85768795b621c9574e535334df57a501.ctex"] +dest_files=["res://.godot/imported/gdre_FileBrowse.svg-85768795b621c9574e535334df57a501.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=1.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=1.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_FileEncrypted.svg.import b/standalone/gdre_icons/gdre_FileEncrypted.svg.import index bdf70187..1da078fd 100644 --- a/standalone/gdre_icons/gdre_FileEncrypted.svg.import +++ b/standalone/gdre_icons/gdre_FileEncrypted.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://bwafctgjs64to" -path="res://.godot/imported/gdre_FileEncrypted.svg-8fc6ab154ff862f14557ffb68af80e04.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_FileEncrypted.svg-8fc6ab154ff862f14557ffb68af80e04.dpitex" [deps] source_file="res://gdre_icons/gdre_FileEncrypted.svg" -dest_files=["res://.godot/imported/gdre_FileEncrypted.svg-8fc6ab154ff862f14557ffb68af80e04.ctex"] +dest_files=["res://.godot/imported/gdre_FileEncrypted.svg-8fc6ab154ff862f14557ffb68af80e04.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=1.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=1.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_FileOk.svg.import b/standalone/gdre_icons/gdre_FileOk.svg.import index 415c35d9..a6f9cf36 100644 --- a/standalone/gdre_icons/gdre_FileOk.svg.import +++ b/standalone/gdre_icons/gdre_FileOk.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://dviqasxa25kve" -path="res://.godot/imported/gdre_FileOk.svg-6aa8e831f296fcecee3ec7b00dac9ed7.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_FileOk.svg-6aa8e831f296fcecee3ec7b00dac9ed7.dpitex" [deps] source_file="res://gdre_icons/gdre_FileOk.svg" -dest_files=["res://.godot/imported/gdre_FileOk.svg-6aa8e831f296fcecee3ec7b00dac9ed7.ctex"] +dest_files=["res://.godot/imported/gdre_FileOk.svg-6aa8e831f296fcecee3ec7b00dac9ed7.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=1.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=1.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_FileWarning.svg.import b/standalone/gdre_icons/gdre_FileWarning.svg.import index 5b6e16c2..c107bcc8 100644 --- a/standalone/gdre_icons/gdre_FileWarning.svg.import +++ b/standalone/gdre_icons/gdre_FileWarning.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://cbo6qqwfetwm4" -path="res://.godot/imported/gdre_FileWarning.svg-2689194bc355c9e337ec3d853a63d6d0.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_FileWarning.svg-2689194bc355c9e337ec3d853a63d6d0.dpitex" [deps] source_file="res://gdre_icons/gdre_FileWarning.svg" -dest_files=["res://.godot/imported/gdre_FileWarning.svg-2689194bc355c9e337ec3d853a63d6d0.ctex"] +dest_files=["res://.godot/imported/gdre_FileWarning.svg-2689194bc355c9e337ec3d853a63d6d0.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=1.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=1.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_GuiTabMenuHl.svg.import b/standalone/gdre_icons/gdre_GuiTabMenuHl.svg.import index d39eb750..58d6bebc 100644 --- a/standalone/gdre_icons/gdre_GuiTabMenuHl.svg.import +++ b/standalone/gdre_icons/gdre_GuiTabMenuHl.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://70wmkccoq7gp" -path="res://.godot/imported/gdre_GuiTabMenuHl.svg-6ed85db88d8026812387151d3cfba891.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_GuiTabMenuHl.svg-6ed85db88d8026812387151d3cfba891.dpitex" [deps] source_file="res://gdre_icons/gdre_GuiTabMenuHl.svg" -dest_files=["res://.godot/imported/gdre_GuiTabMenuHl.svg-6ed85db88d8026812387151d3cfba891.ctex"] +dest_files=["res://.godot/imported/gdre_GuiTabMenuHl.svg-6ed85db88d8026812387151d3cfba891.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=1.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=1.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_Import.svg.import b/standalone/gdre_icons/gdre_Import.svg.import index 1199d9bf..259536dc 100644 --- a/standalone/gdre_icons/gdre_Import.svg.import +++ b/standalone/gdre_icons/gdre_Import.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://cwydijxu5bwo3" -path="res://.godot/imported/gdre_Import.svg-1115eb7d8044d7d233fa4679f307db08.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_Import.svg-1115eb7d8044d7d233fa4679f307db08.dpitex" [deps] source_file="res://gdre_icons/gdre_Import.svg" -dest_files=["res://.godot/imported/gdre_Import.svg-1115eb7d8044d7d233fa4679f307db08.ctex"] +dest_files=["res://.godot/imported/gdre_Import.svg-1115eb7d8044d7d233fa4679f307db08.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=1.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=1.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_Logo.svg.import b/standalone/gdre_icons/gdre_Logo.svg.import index e53f6a78..2b50350e 100644 --- a/standalone/gdre_icons/gdre_Logo.svg.import +++ b/standalone/gdre_icons/gdre_Logo.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://drxn4ollkvprv" -path="res://.godot/imported/gdre_Logo.svg-03c78c677d3ee90e9fbfc520e5118ed6.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_Logo.svg-03c78c677d3ee90e9fbfc520e5118ed6.dpitex" [deps] source_file="res://gdre_icons/gdre_Logo.svg" -dest_files=["res://.godot/imported/gdre_Logo.svg-03c78c677d3ee90e9fbfc520e5118ed6.ctex"] +dest_files=["res://.godot/imported/gdre_Logo.svg-03c78c677d3ee90e9fbfc520e5118ed6.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=2.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=2.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_LogoBig.svg.import b/standalone/gdre_icons/gdre_LogoBig.svg.import index 721f0989..d022f71f 100644 --- a/standalone/gdre_icons/gdre_LogoBig.svg.import +++ b/standalone/gdre_icons/gdre_LogoBig.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://b3l2iqhf34x5c" -path="res://.godot/imported/gdre_LogoBig.svg-6ca6b5fcea192f7868ddf57e050b5fae.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_LogoBig.svg-6ca6b5fcea192f7868ddf57e050b5fae.dpitex" [deps] source_file="res://gdre_icons/gdre_LogoBig.svg" -dest_files=["res://.godot/imported/gdre_LogoBig.svg-6ca6b5fcea192f7868ddf57e050b5fae.ctex"] +dest_files=["res://.godot/imported/gdre_LogoBig.svg-6ca6b5fcea192f7868ddf57e050b5fae.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=1.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=1.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_MaterialPreviewLight1.svg.import b/standalone/gdre_icons/gdre_MaterialPreviewLight1.svg.import index 325695ee..d6115517 100644 --- a/standalone/gdre_icons/gdre_MaterialPreviewLight1.svg.import +++ b/standalone/gdre_icons/gdre_MaterialPreviewLight1.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://bw33q7hum6mux" -path="res://.godot/imported/gdre_MaterialPreviewLight1.svg-4cf0b0e5e2d2ef059862fe0e6465b452.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_MaterialPreviewLight1.svg-4cf0b0e5e2d2ef059862fe0e6465b452.dpitex" [deps] source_file="res://gdre_icons/gdre_MaterialPreviewLight1.svg" -dest_files=["res://.godot/imported/gdre_MaterialPreviewLight1.svg-4cf0b0e5e2d2ef059862fe0e6465b452.ctex"] +dest_files=["res://.godot/imported/gdre_MaterialPreviewLight1.svg-4cf0b0e5e2d2ef059862fe0e6465b452.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=1.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=1.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_MaterialPreviewLight2.svg.import b/standalone/gdre_icons/gdre_MaterialPreviewLight2.svg.import index 0e3e69a3..32f9e67b 100644 --- a/standalone/gdre_icons/gdre_MaterialPreviewLight2.svg.import +++ b/standalone/gdre_icons/gdre_MaterialPreviewLight2.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://ducxthcvnkalf" -path="res://.godot/imported/gdre_MaterialPreviewLight2.svg-2709caafd924ed432248682be650c1e2.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_MaterialPreviewLight2.svg-2709caafd924ed432248682be650c1e2.dpitex" [deps] source_file="res://gdre_icons/gdre_MaterialPreviewLight2.svg" -dest_files=["res://.godot/imported/gdre_MaterialPreviewLight2.svg-2709caafd924ed432248682be650c1e2.ctex"] +dest_files=["res://.godot/imported/gdre_MaterialPreviewLight2.svg-2709caafd924ed432248682be650c1e2.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=1.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=1.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_Pack.svg.import b/standalone/gdre_icons/gdre_Pack.svg.import index 4ba94637..78e5bdb7 100644 --- a/standalone/gdre_icons/gdre_Pack.svg.import +++ b/standalone/gdre_icons/gdre_Pack.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://bp8yf7a2dd6nu" -path="res://.godot/imported/gdre_Pack.svg-d44c57dd9ce66a00aa09c1dfae57e62c.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_Pack.svg-d44c57dd9ce66a00aa09c1dfae57e62c.dpitex" [deps] source_file="res://gdre_icons/gdre_Pack.svg" -dest_files=["res://.godot/imported/gdre_Pack.svg-d44c57dd9ce66a00aa09c1dfae57e62c.ctex"] +dest_files=["res://.godot/imported/gdre_Pack.svg-d44c57dd9ce66a00aa09c1dfae57e62c.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=2.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=2.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_Pause.svg.import b/standalone/gdre_icons/gdre_Pause.svg.import index da2d5ab9..6392be42 100644 --- a/standalone/gdre_icons/gdre_Pause.svg.import +++ b/standalone/gdre_icons/gdre_Pause.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://b2l0m3p42t05e" -path="res://.godot/imported/gdre_Pause.svg-370ca5d2688558a108c081589218a42c.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_Pause.svg-370ca5d2688558a108c081589218a42c.dpitex" [deps] source_file="res://gdre_icons/gdre_Pause.svg" -dest_files=["res://.godot/imported/gdre_Pause.svg-370ca5d2688558a108c081589218a42c.ctex"] +dest_files=["res://.godot/imported/gdre_Pause.svg-370ca5d2688558a108c081589218a42c.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=2.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=2.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_Play.svg.import b/standalone/gdre_icons/gdre_Play.svg.import index 70c7db67..1eb7bc0b 100644 --- a/standalone/gdre_icons/gdre_Play.svg.import +++ b/standalone/gdre_icons/gdre_Play.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://fk0s8roleyid" -path="res://.godot/imported/gdre_Play.svg-c9be634537fad3835afce9acf68d1bc7.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_Play.svg-c9be634537fad3835afce9acf68d1bc7.dpitex" [deps] source_file="res://gdre_icons/gdre_Play.svg" -dest_files=["res://.godot/imported/gdre_Play.svg-c9be634537fad3835afce9acf68d1bc7.ctex"] +dest_files=["res://.godot/imported/gdre_Play.svg-c9be634537fad3835afce9acf68d1bc7.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=2.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=2.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_Reload.svg.import b/standalone/gdre_icons/gdre_Reload.svg.import index 06d96128..0efaa547 100644 --- a/standalone/gdre_icons/gdre_Reload.svg.import +++ b/standalone/gdre_icons/gdre_Reload.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://bck3jnqva5utd" -path="res://.godot/imported/gdre_Reload.svg-f61f040c5c388c741094b60afdb58dbf.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_Reload.svg-f61f040c5c388c741094b60afdb58dbf.dpitex" [deps] source_file="res://gdre_icons/gdre_Reload.svg" -dest_files=["res://.godot/imported/gdre_Reload.svg-f61f040c5c388c741094b60afdb58dbf.ctex"] +dest_files=["res://.godot/imported/gdre_Reload.svg-f61f040c5c388c741094b60afdb58dbf.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=1.6 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=1.6 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_ResBT.svg.import b/standalone/gdre_icons/gdre_ResBT.svg.import index 7d7931b9..bed06665 100644 --- a/standalone/gdre_icons/gdre_ResBT.svg.import +++ b/standalone/gdre_icons/gdre_ResBT.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://c2sxanw32gbqf" -path="res://.godot/imported/gdre_ResBT.svg-f69b579f4913cd80591ac91026e46d3d.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_ResBT.svg-f69b579f4913cd80591ac91026e46d3d.dpitex" [deps] source_file="res://gdre_icons/gdre_ResBT.svg" -dest_files=["res://.godot/imported/gdre_ResBT.svg-f69b579f4913cd80591ac91026e46d3d.ctex"] +dest_files=["res://.godot/imported/gdre_ResBT.svg-f69b579f4913cd80591ac91026e46d3d.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=2.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=2.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_ResOther.svg.import b/standalone/gdre_icons/gdre_ResOther.svg.import index abfb925a..1cc5fadd 100644 --- a/standalone/gdre_icons/gdre_ResOther.svg.import +++ b/standalone/gdre_icons/gdre_ResOther.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://d0rufkchgyodv" -path="res://.godot/imported/gdre_ResOther.svg-67d527b79a9c135b8e85c8ed2f5bed4e.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_ResOther.svg-67d527b79a9c135b8e85c8ed2f5bed4e.dpitex" [deps] source_file="res://gdre_icons/gdre_ResOther.svg" -dest_files=["res://.godot/imported/gdre_ResOther.svg-67d527b79a9c135b8e85c8ed2f5bed4e.ctex"] +dest_files=["res://.godot/imported/gdre_ResOther.svg-67d527b79a9c135b8e85c8ed2f5bed4e.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=2.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=2.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_ResTB.svg.import b/standalone/gdre_icons/gdre_ResTB.svg.import index 2f37a64e..63d82b43 100644 --- a/standalone/gdre_icons/gdre_ResTB.svg.import +++ b/standalone/gdre_icons/gdre_ResTB.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://hb6tx3lfaps7" -path="res://.godot/imported/gdre_ResTB.svg-f441a2a09b3b59642aa6947531d27aa9.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_ResTB.svg-f441a2a09b3b59642aa6947531d27aa9.dpitex" [deps] source_file="res://gdre_icons/gdre_ResTB.svg" -dest_files=["res://.godot/imported/gdre_ResTB.svg-f441a2a09b3b59642aa6947531d27aa9.ctex"] +dest_files=["res://.godot/imported/gdre_ResTB.svg-f441a2a09b3b59642aa6947531d27aa9.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=2.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=2.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_Script.svg.import b/standalone/gdre_icons/gdre_Script.svg.import index 8023233e..3088c136 100644 --- a/standalone/gdre_icons/gdre_Script.svg.import +++ b/standalone/gdre_icons/gdre_Script.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://bwlk10i2ftpri" -path="res://.godot/imported/gdre_Script.svg-4c68c9c5e02f5e7a41dddea59a95e245.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_Script.svg-4c68c9c5e02f5e7a41dddea59a95e245.dpitex" [deps] source_file="res://gdre_icons/gdre_Script.svg" -dest_files=["res://.godot/imported/gdre_Script.svg-4c68c9c5e02f5e7a41dddea59a95e245.ctex"] +dest_files=["res://.godot/imported/gdre_Script.svg-4c68c9c5e02f5e7a41dddea59a95e245.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=2.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=2.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_Search.svg.import b/standalone/gdre_icons/gdre_Search.svg.import index b6afd025..9e871aa7 100644 --- a/standalone/gdre_icons/gdre_Search.svg.import +++ b/standalone/gdre_icons/gdre_Search.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://byablbp3l8foe" -path="res://.godot/imported/gdre_Search.svg-db6d735e485abd390d4286d5e840e431.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_Search.svg-db6d735e485abd390d4286d5e840e431.dpitex" [deps] source_file="res://gdre_icons/gdre_Search.svg" -dest_files=["res://.godot/imported/gdre_Search.svg-db6d735e485abd390d4286d5e840e431.ctex"] +dest_files=["res://.godot/imported/gdre_Search.svg-db6d735e485abd390d4286d5e840e431.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=1.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=1.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_Stop.svg.import b/standalone/gdre_icons/gdre_Stop.svg.import index 1bf241a4..68e1d4e4 100644 --- a/standalone/gdre_icons/gdre_Stop.svg.import +++ b/standalone/gdre_icons/gdre_Stop.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://cdhnddtchuo2h" -path="res://.godot/imported/gdre_Stop.svg-5e008734a41f86d1d6dd922429f3373b.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_Stop.svg-5e008734a41f86d1d6dd922429f3373b.dpitex" [deps] source_file="res://gdre_icons/gdre_Stop.svg" -dest_files=["res://.godot/imported/gdre_Stop.svg-5e008734a41f86d1d6dd922429f3373b.ctex"] +dest_files=["res://.godot/imported/gdre_Stop.svg-5e008734a41f86d1d6dd922429f3373b.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=2.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=2.0 +saturation=1.0 +color_map={} +compress=true diff --git a/standalone/gdre_icons/gdre_Translation.svg.import b/standalone/gdre_icons/gdre_Translation.svg.import index 8a71e4ab..2f6498c9 100644 --- a/standalone/gdre_icons/gdre_Translation.svg.import +++ b/standalone/gdre_icons/gdre_Translation.svg.import @@ -1,43 +1,18 @@ [remap] -importer="texture" -type="CompressedTexture2D" +importer="svg" +type="DPITexture" uid="uid://ditgs1iq4qkup" -path="res://.godot/imported/gdre_Translation.svg-46b428564f905f308174bad7bee6b44f.ctex" -metadata={ -"vram_texture": false -} +path="res://.godot/imported/gdre_Translation.svg-46b428564f905f308174bad7bee6b44f.dpitex" [deps] source_file="res://gdre_icons/gdre_Translation.svg" -dest_files=["res://.godot/imported/gdre_Translation.svg-46b428564f905f308174bad7bee6b44f.ctex"] +dest_files=["res://.godot/imported/gdre_Translation.svg-46b428564f905f308174bad7bee6b44f.dpitex"] [params] -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=1.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false +base_scale=1.0 +saturation=1.0 +color_map={} +compress=true From f8f24e84eee7a63a7bd02dbed4f03dd26f4114f0 Mon Sep 17 00:00:00 2001 From: nikitalita <69168929+nikitalita@users.noreply.github.com> Date: Tue, 23 Dec 2025 12:13:52 -0800 Subject: [PATCH 03/36] scene: set error if there were missing dependencies on load with `ignore_missing_dependencies` --- exporters/scene_exporter.cpp | 4 +++- exporters/scene_exporter.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/exporters/scene_exporter.cpp b/exporters/scene_exporter.cpp index 234e5e8f..0a80b5b6 100644 --- a/exporters/scene_exporter.cpp +++ b/exporters/scene_exporter.cpp @@ -949,6 +949,7 @@ Error GLBExporterInstance::_load_deps() { } if (!FileAccess::exists(info.remap) && !FileAccess::exists(info.dep)) { if (ignore_missing_dependencies) { + missing_dependencies.push_back(info.dep); WARN_PRINT(vformat("%s: Dependency %s -> %s does not exist.", source_path, info.dep, info.remap)); continue; } @@ -983,6 +984,7 @@ Error GLBExporterInstance::_load_deps() { ResourceFormatLoader::CACHE_MODE_IGNORE); // not ignore deep, we want to reuse dependencies if they exist if (err || texture.is_null()) { if (ignore_missing_dependencies) { + missing_dependencies.push_back(info.dep); WARN_PRINT(vformat("%s: Dependency %s:%s failed to load.", source_path, info.dep, info.remap)); continue; } @@ -2850,7 +2852,7 @@ Error GLBExporterInstance::_get_return_error() { if (had_gltf_serialization_errors) { String _ = add_errors_to_report(ERR_BUG, ""); - } else if (!set_all_externals && err == OK) { + } else if ((!set_all_externals || missing_dependencies.size() > 0) && err == OK) { String _ = add_errors_to_report(ERR_PRINTER_ON_FIRE, "Failed to set all external dependencies in GLTF export and/or import info. This scene may not be imported correctly upon re-import."); } else { GDRE_SCN_EXP_FAIL_COND_V_MSG(err, err, ""); diff --git a/exporters/scene_exporter.h b/exporters/scene_exporter.h index 0a514645..a3aa2f7e 100644 --- a/exporters/scene_exporter.h +++ b/exporters/scene_exporter.h @@ -114,6 +114,7 @@ class GLBExporterInstance { Vector image_extensions; Vector> loaded_deps; Vector loaded_dep_uids; + Vector missing_dependencies; // set during _export_instanced_scene bool had_images = false; From f43df8dc2a77532199314522999b634e20350f6c Mon Sep 17 00:00:00 2001 From: nikitalita <69168929+nikitalita@users.noreply.github.com> Date: Tue, 23 Dec 2025 13:26:45 -0800 Subject: [PATCH 04/36] fix GDRESettings::get_mapped_path --- utility/gdre_settings.cpp | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/utility/gdre_settings.cpp b/utility/gdre_settings.cpp index 026a21a5..d6d8d535 100644 --- a/utility/gdre_settings.cpp +++ b/utility/gdre_settings.cpp @@ -1573,20 +1573,22 @@ String GDRESettings::get_mapped_path(const String &p_src) const { String dep_path; if (FileAccess::exists(iinfo_path)) { iinfo = ImportInfo::load_from_file(iinfo_path, 0, 0); - if (FileAccess::exists(iinfo->get_path())) { - return iinfo->get_path(); - } - auto dests = iinfo->get_dest_files(); - for (int i = 0; i < dests.size(); i++) { - if (FileAccess::exists(dests[i])) { - return dests[i]; + if (iinfo.is_valid()) { + if (FileAccess::exists(iinfo->get_path())) { + return iinfo->get_path(); + } + auto dests = iinfo->get_dest_files(); + for (int i = 0; i < dests.size(); i++) { + if (FileAccess::exists(dests[i])) { + return dests[i]; + } } } } iinfo_path = src + ".remap"; if (FileAccess::exists(iinfo_path)) { iinfo = ImportInfo::load_from_file(iinfo_path, 0, 0); - if (FileAccess::exists(iinfo->get_path())) { + if (iinfo.is_valid() && FileAccess::exists(iinfo->get_path())) { return iinfo->get_path(); } } From 81c31f239bb444a9dff8d24ca5572668d015b0ef Mon Sep 17 00:00:00 2001 From: nikitalita <69168929+nikitalita@users.noreply.github.com> Date: Tue, 23 Dec 2025 13:32:13 -0800 Subject: [PATCH 05/36] scene: fix node importing options --- exporters/scene_exporter.cpp | 56 ++++++++++++++++++++++++------------ 1 file changed, 38 insertions(+), 18 deletions(-) diff --git a/exporters/scene_exporter.cpp b/exporters/scene_exporter.cpp index 0a80b5b6..9af08faf 100644 --- a/exporters/scene_exporter.cpp +++ b/exporters/scene_exporter.cpp @@ -12,6 +12,7 @@ #include "modules/gltf/structures/gltf_node.h" #include "modules/regex/regex.h" #include "scene/3d/mesh_instance_3d.h" +#include "scene/3d/navigation/navigation_region_3d.h" #include "scene/3d/occluder_instance_3d.h" #include "scene/3d/physics/rigid_body_3d.h" #include "scene/3d/physics/static_body_3d.h" @@ -1159,20 +1160,17 @@ Dictionary get_default_node_options() { return dict; } -Dictionary get_node_options(Node *p_node) { +Dictionary get_node_options(Node *p_node, HashSet *r_generated_nodes = nullptr) { Dictionary node_options_dict = Dictionary(); MeshInstance3D *mesh_instance = Object::cast_to(p_node); AnimationPlayer *animation_player = Object::cast_to(p_node); + Skeleton3D *skeleton = Object::cast_to(p_node); Ref