Skip to content

Add layers, delta undo, shape symmetry, and reference overlay to texture editor#30

Merged
CoderJoeW merged 2 commits intomainfrom
texture-editor-enhancements
Mar 16, 2026
Merged

Add layers, delta undo, shape symmetry, and reference overlay to texture editor#30
CoderJoeW merged 2 commits intomainfrom
texture-editor-enhancements

Conversation

@CoderJoeW
Copy link
Copy Markdown
Owner

Summary

  • Layer system: each face now supports multiple layers with per-layer opacity and visibility. New layer panel with add, delete, merge down, and reorder controls. Compositing flattens visible layers for display/save with a fast path for the single-layer case.
  • Delta-based undo/redo: tracks dirty regions during painting and stores only changed pixel crops instead of full image snapshots. Undo limit raised from 20 to 100.
  • Shape tool symmetry: line, rectangle, and ellipse tools now respect horizontal, vertical, and quad mirror modes via mirrored start/end point pairs.
  • Gradient selection constraint: gradient tool fills only within the active selection rectangle when one exists, enabling localized gradient fills.
  • Reference image overlay: load any PNG/JPG/BMP as a semi-transparent tracing guide on the canvas with adjustable opacity. Controls are hidden until a reference is loaded.

…ence overlay to texture editor

- Layer system: each face supports multiple layers with opacity and visibility
  controls, add/delete/merge-down/reorder via new layer panel
- Delta-based undo: tracks dirty regions during painting and stores only
  changed pixel crops instead of full image snapshots, raising the undo
  limit from 20 to 100
- Shape tool symmetry: line, rectangle, and ellipse tools now respect
  horizontal, vertical, and quad mirror modes
- Gradient selection constraint: gradient tool fills only within the
  active selection rectangle when one exists
- Reference image overlay: load any image as a semi-transparent tracing
  guide on the canvas with adjustable opacity (controls hidden until a
  reference is loaded)
@CoderJoeW CoderJoeW merged commit 2861e00 into main Mar 16, 2026
3 checks passed
@CoderJoeW CoderJoeW deleted the texture-editor-enhancements branch March 16, 2026 00:47
@CoderJoeW CoderJoeW restored the texture-editor-enhancements branch March 16, 2026 00:48
@CoderJoeW CoderJoeW deleted the texture-editor-enhancements branch March 16, 2026 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant