Commit e6dab9d
committed
qt5_graphics: always report gcode props in gcode's units
Previously this was calculated based on the state of metric_units at the
time of file load. metric_units reflected the current G20/G21 state (or
if 'metric-mode-changed' was emitted). Therefore it was possible that
the properties for an imperial gcode file were reported in metric, and
vice versa.1 parent 76303f0 commit e6dab9d
1 file changed
Lines changed: 9 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
| 309 | + | |
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| |||
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
| 461 | + | |
| 462 | + | |
467 | 463 | | |
468 | 464 | | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
469 | 470 | | |
470 | 471 | | |
471 | | - | |
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
| 504 | + | |
509 | 505 | | |
510 | 506 | | |
511 | 507 | | |
| |||
0 commit comments