mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-26 07:11:23 -05:00
Deleting the last modifier of an unprintable object painted it in its normal colour again: ModelObject::delete_volume gives the remaining volume a new id, reload_scene then builds a fresh GLVolume for it, and nothing copied the instance's printable flag into the new volume. The object list and the slice were right; only the 3D view went stale. reload_scene now copies ModelInstance::printable into every GLVolume it creates or reuses, so the canvas follows the model on every reload instead of relying on each call site to refresh it afterwards. Checked on Linux with a cube plus a block modifier saved as unprintable: deleting the modifier turned the cube from grey to its normal colour before, and leaves it grey now; toggling Printable from the object's context menu still switches it both ways.