mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-13 10:51:12 +00:00
# Description Re-slicing no longer leaks layers in two places. Tree supports dropped the support layers above the topmost overhang without freeing them. And an object that had sliced itself, then became identical to another object (for example a copy whose original lost a per-object setting or modifier), leaked its own layers when it switched to sharing that object's slices; it now frees them once it takes the shared layers over. If slicing is cancelled before that point, they still leak, as before. Tree support also stops copying its collision and avoidance areas on every lookup, and releases its working cache once supports are generated instead of keeping it until the next slice. Elephant-foot compensation now uses each object's own slice closing radius, where the first object sliced in a session used to fix the value for every later slice. Slicing output changes only on layers with more than one region printed with elephant-foot compensation and no raft, and only where an object's slice closing radius differs from the value the session had fixed. # Screenshots/Recordings/Graphs <!-- > Please attach relevant screenshots to showcase the UI changes. > Please attach images that can help explain the changes. --> ## Tests Adds a regression test for an object that switches to sharing another object's slices. The `fff_print` suite passes. <!-- > A guide for users on how to download the artifacts from this PR. --> [How to Download Pull Requests Artifacts for Testing](https://www.orcaslicer.com/wiki/how_to_download_pr_artifacts) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
OrcaSlicer tests
Building, running and writing tests is documented on the wiki, under How to Test.
Two files here rather than there, because coding agents only read what is in the repository: