Răsfoiți Sursa

Fix generic conversion icon

kobewi 11 luni în urmă
părinte
comite
514bbbfde3
2 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 1 1
      editor/editor_resource_picker.cpp
  2. 1 1
      editor/filesystem_dock.cpp

+ 1 - 1
editor/editor_resource_picker.cpp

@@ -297,7 +297,7 @@ void EditorResourcePicker::_update_menu_items() {
 			if (has_theme_icon(what, EditorStringName(EditorIcons))) {
 				icon = get_editor_theme_icon(what);
 			} else {
-				icon = get_theme_icon(what, SNAME("Resource"));
+				icon = get_editor_theme_icon(SNAME("Object"));
 			}
 
 			edit_menu->add_icon_item(icon, vformat(TTR("Convert to %s"), what), CONVERT_BASE_ID + relative_id);

+ 1 - 1
editor/filesystem_dock.cpp

@@ -3414,7 +3414,7 @@ void FileSystemDock::_file_and_folders_fill_popup(PopupMenu *p_popup, const Vect
 					if (has_theme_icon(E, SNAME("EditorIcons"))) {
 						icon = get_editor_theme_icon(E);
 					} else {
-						icon = get_editor_theme_icon(SNAME("Resource"));
+						icon = get_editor_theme_icon(SNAME("Object"));
 					}
 
 					container_menu->add_icon_item(icon, vformat(TTR(conversion_string_template), E), CONVERT_BASE_ID + relative_id);