Skip to content

(perf) Triple undo history for sculpt strokes - #42

Merged
nimerix merged 1 commit into
mainfrom
perf/sculpt-undo-history
Nov 24, 2026
Merged

nimerix merged 1 commit into
mainfrom
perf/sculpt-undo-history

Conversation

@nimerix

@nimerix nimerix commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Retain up to 120 undo steps for sculpt strokes within the existing memory budgets.
  • Compress sculpt geometry and mask history to reduce memory use and improve stroke performance.
  • Update undo history limits in the editor, shared scenes, and documentation.

Testing

  • npm run build
  • Unit tests: 1,923 passed, 18 skipped.
  • Sculpt browser tests: 20 passed.
  • Benchmark on a 64,800-triangle mesh: 120 strokes used 4.2 MiB of history buffers; median stroke time was 0.73 ms.

@nimerix
nimerix merged commit e578cea into main Nov 24, 2026
3 checks passed
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