mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
- Sections split into brush_sections.rs: Brush Tip Shape with a tip grid of preset tips (relative-size thumbnails), Restore original size, Flip X/Y, a draggable angle/roundness ellipse with fields, Hardness (greyed for sampled tips), Spacing; Shape Dynamics, Scattering, Texture (pattern swatch, style, invert, scale, brightness, contrast, each tip, mode, depth, minimum depth, depth jitter), Dual Brush (mode, flip, tip grid, size, spacing, scatter, both axes, count), Color Dynamics, Transfer, Brush Pose (tilt now in ±100 % of the model's ±90°, was off by 90x), Build-up, Smoothing. - Control pop-ups offer the direction controls only for Angle; Fade shows its step count; disabled sections show their options greyed; clicking a section name shows and turns it on. - Every edit becomes one tools.setBrush with only the changed fields (bitmaps skipped unless changed), so the panel is journaled and drivable. - brush_preview.rs: slot cache keyed on a cheap settings signature; the strip and thumbnails re-render only on change and no longer leak a texture per slider value. - Brushes tab: size slider, search, collapsible groups (state in UiState.brushes_panel), tip thumbnail + stroke preview + name rows, new / delete / import buttons. Refs #95 Co-Authored-By: Claude Opus 5.5 <[email protected]>