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.
This commit is contained in:
vangel76 committed 2026-11-18 00:18:57 +01:00
1 parent 2416736820
commit 014e2881a5
4 files changed
+5 -6

No files matched your search

+1 -1
View File
@@ -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() {
+1 -2
View File
@@ -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);
@@ -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)",
+2 -2
View File
@@ -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");