Files
OrcaSlicer-KX/src/libslic3r
SoftFever c085eb845c Fix machine envelope G-code emitting wrong limits due to broken extruder_id indexing (#12414)
print_machine_envelope() used get_extruder_id(extruder_id)*2 to index
machine limit arrays that only hold [Normal, Stealth] (2 entries).
For multi-extruder setups this went out-of-bounds, causing wrong M201/M203
values in the G-code which then override the estimator's correct limits.

Same class of bug as c6d1c11ebb but on the G-code writer side.

Changes:
- Remove unused extruder_id param from print_machine_envelope()
- Use .values.front() for M201/M203, matching M204/M205 in same function
- Change get_option_value() fallback from .back() to .front() so any
  future out-of-bounds index returns Normal mode instead of Stealth
2026-02-22 16:13:06 +08:00
..
2025-07-18 16:01:25 +08:00
2024-10-05 21:53:16 +03:00
2023-08-08 19:08:13 +08:00
2024-01-26 20:18:10 +08:00
2023-12-01 10:42:45 +00:00
2024-08-22 10:13:45 +03:00
2025-06-14 21:05:25 +08:00
2025-10-28 15:29:47 +08:00
2023-08-08 19:08:13 +08:00
2024-01-26 20:18:10 +08:00
2025-12-08 22:42:11 +08:00
2023-07-07 17:25:51 +08:00
2023-12-01 10:42:45 +00:00
2024-05-12 23:35:41 +08:00
2025-10-28 15:29:55 +08:00
2025-10-28 15:29:55 +08:00
2025-09-18 17:08:18 +08:00
2025-09-18 17:08:18 +08:00
2024-01-26 20:18:10 +08:00
2025-12-08 22:42:11 +08:00
2025-12-08 22:42:11 +08:00
2024-01-26 20:18:10 +08:00
2025-12-08 22:42:11 +08:00
2025-12-08 22:42:11 +08:00
2023-11-04 11:41:03 +08:00
2025-11-18 19:50:48 -05:00
2023-08-08 19:08:13 +08:00
2023-08-08 19:08:13 +08:00
2026-01-29 19:19:37 +08:00
2026-01-23 17:05:56 +08:00
2025-12-08 22:42:11 +08:00
2025-12-08 22:42:11 +08:00