mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-18 13:10:54 +00:00
A user preset can inherit a system preset from a vendor that is not installed. get_preset_base() returns null for it, and get_selected_preset_base() dereferenced that unconditionally, so picking the printer crashed while building the shared profiles notification URL. Fall back to the selected preset itself. The create printer and create filament dialogs had the same null dereference on such presets.
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: