mirror of
https://github.com/storytold/cadcraft.git
synced 2026-10-26 20:06:50 -06:00
DimStyle::apply_fields rounded a value for a whole-number field such as DIMDEC or DIMTMOVE and clamped it to 0..255, so DIMDEC -1 became 0 and DIMALTD "300" became 255. DIMSTYLE, DIMOVERRIDE and the SETVAR overrides that new dimensions take all accepted these values. A value below 0 or one that rounds above 255 is now refused, as an out-of-range value is. DIMADEC still takes -1. A lineweight given as -1, -2 or -3 (ByLayer, ByBlock, Default) is no longer read as 0 when the style's lineweight is positive, and a lineweight above 211 given as text is refused instead of read as 211.