Files
OrcaSlicer/tests
Noisyfox 821b602c4d Keep height ranges and per-feature filament assignments on their mixed slots (#17729)
Adding a physical filament inserts it ahead of the mixed filaments. Height ranges and the per-feature filament settings (outer and inner walls, sparse and internal solid infill, top and bottom surfaces) kept their old slot numbers, so an assignment to a mix printed with the new physical filament instead.

Shift those assignments with the mixes when a filament is added, and move them with the deleted or merged slot when a filament is removed. This covers the process preset, objects, parts, modifiers and height ranges. Inherited (Default) assignments are unchanged.

When a published 3MF import moves mixed filaments, imported parts and published process settings follow the author's slot moves, and process settings kept from the receiver follow the receiver's own mixes. A receiver mix that moved no longer redirects the author's references to the physical filament in that slot.

Fixes #17727
2026-11-23 15:56:49 -06:00
..
2025-12-08 22:42:11 +08:00

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:

  • AGENTS.md is the same guidance in short form, and is what an agent working under tests/ picks up.
  • CATCH2.md is the Catch2 reference, including the mistakes that break a test at runtime.