Files
Hanif Koh 20230d9a75 Let the Nozzle Variant Box Switch Away From a User Printer Preset
A user printer preset's alias is its own name. Picking a variant swapped the
old variant in that name for the new one; a name that does not say its nozzle
("My K2", or a 0.5 copy of the 0.6 preset) was left unchanged, so the lookup
found the selected preset again and every pick was a no-op. When the swap
changes nothing, the preset it inherits from is tried instead; asking for the
variant the preset already has still keeps it.

A user preset that changed its nozzle diameter keeps its parent's variant, so
the box showed the parent's size and picking the real one snapped back. The box
now shows the nozzle when the variant no longer fits it: picking that diameter
keeps the preset, and picking the inherited variant goes back to the parent.
A system preset with an unsaved nozzle edit still goes by its variant, as
before.
2026-12-01 18:39:31 +08: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.