From 014e2881a586eae0460cead043e7914a2b5a1f7a Mon Sep 17 00:00:00 2001 From: vangel76 Date: Wed, 18 Nov 2026 00:18:57 +0100 Subject: [PATCH] UV tile notes say where UV tiles change New project tells the user UV tiles can be changed later in Texture Set Settings, which is true in TextureCraft. Project configuration says the same in one note instead of a separate line under the tile list. --- crates/ui-egui/src/new_project_advanced.rs | 2 +- crates/ui-egui/src/project_config.rs | 3 +-- crates/ui-egui/tests/it/new_project_window.rs | 2 +- crates/ui-egui/tests/it/project_config.rs | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/crates/ui-egui/src/new_project_advanced.rs b/crates/ui-egui/src/new_project_advanced.rs index 39353eef..2b96b9fb 100644 --- a/crates/ui-egui/src/new_project_advanced.rs +++ b/crates/ui-egui/src/new_project_advanced.rs @@ -193,7 +193,7 @@ fn advanced_settings(app: &mut TextureCraftApp, ui: &mut Ui) { ui.add_space(4.0); sub_title(ui, tr("UV Tile settings (UDIMs)"), Some(tr("Paint meshes whose UVs span several UV tiles (UDIMs)"))); - note(ui, tr("You won't be able to change UV Tile settings after creating the project.")); + note(ui, tr("You can change UV tiles later in Texture Set Settings.")); let new_project = &mut app.ui.new_project; let mut uv_tiles = new_project.uv_tiles == Some(true); if check_row(ui, None, |ui| ui.checkbox(&mut uv_tiles, tr("Use UV Tile workflow")), |_| {}).changed() { diff --git a/crates/ui-egui/src/project_config.rs b/crates/ui-egui/src/project_config.rs index 8acf6cc9..7475b0b9 100644 --- a/crates/ui-egui/src/project_config.rs +++ b/crates/ui-egui/src/project_config.rs @@ -226,7 +226,7 @@ pub(crate) fn show(app: &mut TextureCraftApp, ctx: &egui::Context) { // Texture Set Settings owns UV tile changes ui.add_space(4.0); sub_title(ui, tr("UV Tile settings (UDIMs)"), Some(tr("The UV tiles (UDIMs) of each texture set, shown for reference. Change them in Texture Set Settings."))); - note(ui, tr("You can't change UV Tile settings once a project has been created.")); + note(ui, tr("Change UV tiles in Texture Set Settings.")); let has_tiles = texture_set_tiles.iter().any(|(_, tile_text)| tile_text.is_some()); let tiles_hint = tr("Change the UV tiles of a texture set in Texture Set Settings"); check_row(ui, None, |ui| ui.add_enabled(false, egui::Checkbox::new(&mut has_tiles.clone(), tr("Use UV Tile workflow"))), |_| {}).on_disabled_hover_text(tiles_hint); @@ -246,7 +246,6 @@ pub(crate) fn show(app: &mut TextureCraftApp, ctx: &egui::Context) { .weak(), ); } - ui.label(egui::RichText::new(tr("Change them in Texture Set Settings")).small().weak()); }); ui.add_space(4.0); diff --git a/crates/ui-egui/tests/it/new_project_window.rs b/crates/ui-egui/tests/it/new_project_window.rs index c1819775..71a1602b 100644 --- a/crates/ui-egui/tests/it/new_project_window.rs +++ b/crates/ui-egui/tests/it/new_project_window.rs @@ -62,7 +62,7 @@ fn the_sections_follow_the_reference_order() { "Normal map format", "Compute tangent space per fragment", "UV Tile settings (UDIMs)", - "You won't be able to change UV Tile settings after creating the project.", + "You can change UV tiles later in Texture Set Settings.", "Use UV Tile workflow", "Preserve UV Tile layout per material and enable painting across tiles", "Convert UV Tiles into individual Texture Sets (legacy)", diff --git a/crates/ui-egui/tests/it/project_config.rs b/crates/ui-egui/tests/it/project_config.rs index bbc07f87..5c55bcda 100644 --- a/crates/ui-egui/tests/it/project_config.rs +++ b/crates/ui-egui/tests/it/project_config.rs @@ -169,7 +169,7 @@ fn the_window_follows_the_reference_layout() { "PROJECT SETTINGS", "Compute tangent space per fragment", "UV Tile settings (UDIMs)", - "You can't change UV Tile settings once a project has been created.", + "Change UV tiles in Texture Set Settings.", "Use UV Tile workflow", "Convert UV Tiles into individual Texture Sets (legacy)", "Import settings", @@ -627,7 +627,7 @@ fn uv_tiles_are_shown_read_only() { assert!(h.query_by_label("UV Tile settings (UDIMs)").is_some()); assert!(h.query_by_label("No UV tiles").is_some(), "a project without UV tiles"); - assert!(h.query_by_label("Change them in Texture Set Settings").is_some()); + assert!(h.query_by_label("Change UV tiles in Texture Set Settings.").is_some()); click(&mut h, Role::Button, "Cancel");