Review: the text wrapped at the full width with the dismiss button after
it, so on a narrow window the toast spilled past the screen edge, and a
long notice could grow taller than the window and clip its button.
Toasts are now at most the window's width (and 360 points), the text
wraps in the width the button leaves and scrolls past a share of the
window's height, and long texture set names are shortened in the GPU
memory notice.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The tables are sorted by English key with new strings appended at the
end, so every open PR that adds strings conflicts there. These keys now
sit in their sorted slots, away from the shared tail.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An eye menu above the list shows, hides or inverts every texture set;
the focus button shows only the active one, and shows them all again
when pressed a second time. textureSet.visibility {mode} does the same
for agents.
Fixes#72.
Alt+click on a channel of a fill's or the brush's Material section turns
that channel on and every other one off (one undo step for a fill).
tool.material and layer.fill.set take solo: true for the same.
Fixes#74.
The sliders of a selected effect (opacity, generator, levels, HSL,
filters, fill patterns) re-read their value from the document each
frame and applied it when the drag stopped, but on that frame the
pointer no longer drags, so the old value was applied again; a click on
the track was never applied. slider_edit remembers the dragged value
for the release frame and reports clicks and typed values too.
Fixes#46.
The viewport's normal texture held only the painted Normal channel, so
a baked normal map changed the export but not the view. Display tiles
now re-orient the painted normal onto the baked one, as export does
(core::blend::rnm, now public).
Fixes#54.
Parts a mesh file leaves unnamed are named after the file. The project
stored the mesh as mesh.<ext> and read it back under that name, so a
reopened quad.gltf named its part "mesh" and geometry masks on "quad"
hid their layer. The project now keeps the imported file's name
(mesh_file) and reads the stored mesh under it, on open and on a
pathless reimport. Older projects read as before.
Fixes#76.
layer.add.decal and layer.decal.set take up: [x, y, z]. Without it the
decal keeps the view's up, and when that runs along the surface normal
(a top face seen from a level camera) it takes the view direction, so
the far edge is up, instead of an arbitrary perpendicular.
Fixes#64.
The baked maps are most of a sample project's size, so a 2048 sample is
as large as a 1024 one; the usage and the control protocol now say so.
Fixes#66.
Painting tools 88 to 90% (text in any font as an alpha or a decal), materials and
assets 86 to 88% (18 brush presets and user presets), the total about 94%; the
viewport and UI rows mention polygon wireframes and the start window.
main gained the Arabic table (#47) after this branch started; every key
must be translated there too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Assets shelf has a Brushes tab: presets grouped as Basic (hard, soft,
airbrush, square, dots), Wear and grunge (dry brush, chalk, spray, grunge,
splatter, scratches, chips, cracks, drips) and Details (stars, stitches,
rivets, fur), each with a preview of its stroke. A click sets the stroke (alpha,
spacing, flow, hardness, angle, path following, jitters, particles) and keeps
the brush's size, alignment, culling, symmetry and lazy mouse. My brushes saves
the current brush as a .tcbrush file in the brushes folder and lists them.
Commands: brush.preset.list, brush.preset.apply {preset}, brush.preset.save
{path} and brush.preset.load {path} (an image alpha from another project is
dropped). Labels translated into the other nine UI languages.
The app opens on the sample project, which left no obvious place to pick a
project. A start window now offers New project, Open, the recent projects and
Continue with the sample project, with Show at startup (also Settings >
Interface > Start window). It opens at launch in the desktop and web apps, but
not when a file is given on the command line or the app runs with --control.
Labels translated into the other nine UI languages; a UI test covers New
project, Continue and the startup setting.
- Allocation checks never take an unanswered error scope as success:
native backends block on the verdict; the browser's WebGPU answers
later, so the full-size texture waits beside the bound placeholder
(tiles go into it under discarded scopes) and Renderer::prepare
installs it on success, or keeps the placeholder and reports the set
on failure. The UI keeps drawing frames while a verdict is pending.
- The GPU side wakes the UI when it records an uncaptured error or an
allocation failure, so the notice shows even when the app is idle;
failures are collected after prepare, where late verdicts land.
- Sets the GPU could not hold share one sticky notice (dismissible,
listing them) instead of a six-second toast each, since they are not
retried.
- The out-of-memory error is reported as the cause rather than the
follow-on invalid-texture error.
- The notice no longer uses "▸", which the UI fonts lack (egui panics
on a missing glyph).
Tests: a late texture stays unbound until accepted; a late rejection
keeps the placeholder and is reported once; a verdict that never comes
counts as a failure.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
resource.text draws one or more lines of text, shaped with harfrust (kerning,
ligatures, joined scripts) from the font's outlines (skrifa) and filled by a
non-zero scanline rasterizer, cropped to the ink, as an image resource: white
for the brush alpha, or a color for a decal. text.fonts lists the installed
families and styles, read from each font file's name table only (246 families in
80 ms here); Ubuntu Light and Hack from the UI's built-in fonts are always there
and are the fallback in the browser.
- Properties > Alpha > Text: the text, a font and style, Use as brush alpha and
Place as decal (in the tool's base color).
- Image alphas keep their proportions (their longer side spans the stamp), so a
line of text stays a line; image thumbnails are letterboxed and show alpha.
- harfrust 0.12 and skrifa 0.44 are the versions egui already builds, so the
lockfile gains no packages.
Fixes#40