mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-22 08:42:46 -05:00
A failed stream extraction writes 0 into its target, so Float, Int, Percent and FloatOrPercent options were overwritten before deserialize reported the error, and Point/Point3 kept a partially scanned value. Parse into a temporary and assign only on success; FloatOrPercent sets its percent flag only then too.