From ce987d359230677965659445c020b893e66aee1d Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 8 Oct 2023 22:16:02 +0200 Subject: [PATCH] Updated for pandemonium. --- .../tools/icons/icon_load.svg.import | 1 + .../tools/icons/icon_save.svg.import | 1 + .../tools/icons/icon_translation_editor.svg.import | 1 + .../zylann.translation_editor/tools/translation_editor.gd | 6 +++--- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/addons/zylann.translation_editor/tools/icons/icon_load.svg.import b/addons/zylann.translation_editor/tools/icons/icon_load.svg.import index eb4c5a3..b5f8ece 100644 --- a/addons/zylann.translation_editor/tools/icons/icon_load.svg.import +++ b/addons/zylann.translation_editor/tools/icons/icon_load.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/addons/zylann.translation_editor/tools/icons/icon_save.svg.import b/addons/zylann.translation_editor/tools/icons/icon_save.svg.import index 3693a35..74431c7 100644 --- a/addons/zylann.translation_editor/tools/icons/icon_save.svg.import +++ b/addons/zylann.translation_editor/tools/icons/icon_save.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/addons/zylann.translation_editor/tools/icons/icon_translation_editor.svg.import b/addons/zylann.translation_editor/tools/icons/icon_translation_editor.svg.import index 9a156e7..19248e8 100644 --- a/addons/zylann.translation_editor/tools/icons/icon_translation_editor.svg.import +++ b/addons/zylann.translation_editor/tools/icons/icon_translation_editor.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/addons/zylann.translation_editor/tools/translation_editor.gd b/addons/zylann.translation_editor/tools/translation_editor.gd index 6e085d3..6a6585a 100644 --- a/addons/zylann.translation_editor/tools/translation_editor.gd +++ b/addons/zylann.translation_editor/tools/translation_editor.gd @@ -72,9 +72,9 @@ func _ready(): return # TODO these icons are blank when running as a game - _string_status_icons[STATUS_UNTRANSLATED] = get_icon("StatusError", "EditorIcons") - _string_status_icons[STATUS_PARTIALLY_TRANSLATED] = get_icon("StatusWarning", "EditorIcons") - _string_status_icons[STATUS_TRANSLATED] = get_icon("StatusSuccess", "EditorIcons") + _string_status_icons[STATUS_UNTRANSLATED] = get_theme_icon("StatusError", "EditorIcons") + _string_status_icons[STATUS_PARTIALLY_TRANSLATED] = get_theme_icon("StatusWarning", "EditorIcons") + _string_status_icons[STATUS_TRANSLATED] = get_theme_icon("StatusSuccess", "EditorIcons") _file_menu.get_popup().add_item("Open...", MENU_FILE_OPEN) _file_menu.get_popup().add_item("Save", MENU_FILE_SAVE)