From 08df994708d1345daa617ceb9a251fa4aaedf201 Mon Sep 17 00:00:00 2001 From: chasse20 Date: Fri, 20 Nov 2026 04:16:10 -0500 Subject: [PATCH] Remove extra dependency notices and hardcoded shortcut hints --- ATTRIBUTION.md | 10 ---------- NOTICE | 7 ------- crates/ui-egui/src/color_selection_editor.rs | 2 +- crates/ui-egui/src/generator_panel.rs | 4 +--- crates/ui-egui/tests/it/color_selection_editor.rs | 2 +- 5 files changed, 3 insertions(+), 22 deletions(-) diff --git a/ATTRIBUTION.md b/ATTRIBUTION.md index 6d8f3963..5d607a5c 100644 --- a/ATTRIBUTION.md +++ b/ATTRIBUTION.md @@ -46,13 +46,3 @@ Built-in environments (`crates/render/src/ibl.rs`), smart materials and procedur (`crates/paint/src/brush.rs`), meshes (`crates/geom/src/primitives.rs`) and shelf thumbnails (`crates/ui-egui/src/thumbs.rs`) are generated in code by TextureCraft contributors (MIT OR Apache-2.0). None of them is derived from another product's presets, shaders, materials or images. - -## Default-browser integration dependencies - -The desktop app enables eframe's `links` feature. These unmodified Rust dependencies open links in the system browser and parse their URLs; their upstream MIT and Apache-2.0 licence files remain in the published crates. - -| Dependency | Source | License | -|---|---|---| -| `webbrowser` 1.2.7 | https://github.com/amodm/webbrowser-rs | MIT OR Apache-2.0 | -| `url` 2.5.8, `idna` 1.1.0, `form_urlencoded` 1.2.2 | https://github.com/servo/rust-url | MIT OR Apache-2.0 | -| `idna_adapter` 1.2.2 | https://github.com/hsivonen/idna_adapter | Apache-2.0 OR MIT | diff --git a/NOTICE b/NOTICE index 39ead11d..a6c9da4b 100644 --- a/NOTICE +++ b/NOTICE @@ -25,10 +25,3 @@ in https://github.com/storytold/craft-fonts/blob/main/ATTRIBUTION.md (Inter and BIZ UDPGothic on desktop and web, Noto Sans CJK SC on desktop), under the SIL Open Font License 1.1. Their licence texts ship with the package as OFL-.txt. - -Default-browser integration (eframe's links feature): -webbrowser 1.2.7 — MIT OR Apache-2.0, https://github.com/amodm/webbrowser-rs. -url 2.5.8, idna 1.1.0 and form_urlencoded 1.2.2 — MIT OR Apache-2.0, -https://github.com/servo/rust-url. -idna_adapter 1.2.2 — Apache-2.0 OR MIT, https://github.com/hsivonen/idna_adapter. -These dependencies are used unmodified; their published crates retain the upstream licence files. diff --git a/crates/ui-egui/src/color_selection_editor.rs b/crates/ui-egui/src/color_selection_editor.rs index 482bc227..d538c5ca 100644 --- a/crates/ui-egui/src/color_selection_editor.rs +++ b/crates/ui-egui/src/color_selection_editor.rs @@ -32,7 +32,7 @@ pub fn color_selection_properties(app: &mut TextureCraftApp, ui: &mut Ui, effect let set_index = app.session.doc.project.locate(effect_owner(app, effect)).map_or(app.session.ts(), |(set_index, _, _)| set_index); let has_id_map = app.session.baked(set_index).is_some_and(|baked| baked.maps.contains_key(&BakedMap::Id)); if !has_id_map { - ui.label(RichText::new(format!("{} {}", ic::WARNING, tr("Bake an ID map (F8) to pick colors from the mesh."))).color(tokens.warning)); + ui.label(RichText::new(format!("{} {}", ic::WARNING, tr("Bake an ID map to pick colors from the mesh."))).color(tokens.warning)); } let picking = app.picking_id_color.filter(|pick| pick.effect == effect); diff --git a/crates/ui-egui/src/generator_panel.rs b/crates/ui-egui/src/generator_panel.rs index d15be0e4..d635ecf3 100644 --- a/crates/ui-egui/src/generator_panel.rs +++ b/crates/ui-egui/src/generator_panel.rs @@ -58,9 +58,7 @@ pub(crate) fn generator_properties(app: &mut TextureCraftApp, ui: &mut Ui, layer }); } if !app.session.doc.baked.contains_key(&app.session.ts()) { - ui.label( - RichText::new(format!("{} {}", ic::WARNING, tr("Bake mesh maps (F8) for curvature, AO and thickness based generators."))).color(tokens.warning), - ); + ui.label(RichText::new(format!("{} {}", ic::WARNING, tr("Bake mesh maps for curvature, AO and thickness based generators."))).color(tokens.warning)); } } diff --git a/crates/ui-egui/tests/it/color_selection_editor.rs b/crates/ui-egui/tests/it/color_selection_editor.rs index 34a32c0c..1e7bfef6 100644 --- a/crates/ui-egui/tests/it/color_selection_editor.rs +++ b/crates/ui-egui/tests/it/color_selection_editor.rs @@ -120,7 +120,7 @@ fn pick_mode_shows_the_id_map_and_a_click_on_the_mesh_adds_its_color() { #[test] fn without_an_id_map_picking_is_off_and_a_warning_says_why() { let (mut harness, _) = app_with_color_selection(false); - let warning = format!("{} Bake an ID map (F8) to pick colors from the mesh.", egui_phosphor::regular::WARNING); + let warning = format!("{} Bake an ID map to pick colors from the mesh.", egui_phosphor::regular::WARNING); assert!(harness.query_by_label(&warning).is_some()); harness.get_by_label(&pick_color_label()).click();