Commit Graph

1 Commits

Author SHA1 Message Date
Seth Hillbrand 00565e0f14 Fix DXF import corruption with large coordinates
The overflow check for auto-offsetting imported graphics did not account
for the IU conversion factor, causing DXF files with coordinates around
2300mm to exhibit visual glitches. The check compared mm values directly
against INT32_MAX, but after IU conversion (multiply by 1e6 for PCB),
these values exceed the integer limit.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/9681
2026-01-06 12:44:23 -08:00