Fix "Access Violation" (#12704) #244

Open
opened 2026-04-05 16:19:17 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @RF47 on 3/20/2026

Description

Add early returns in process_M1020 and process_T when the parsed extruder/filament id is out of range to avoid calling process_filament_change with an invalid index.

Screenshots/Recordings/Graphs

image image

Tests

Cube.zip

Fix #12704
Related to #12684

*Originally created by @RF47 on 3/20/2026* # Description Add early returns in process_M1020 and process_T when the parsed extruder/filament id is out of range to avoid calling process_filament_change with an invalid index. # Screenshots/Recordings/Graphs <img width="1461" height="928" alt="image" src="https://github.com/user-attachments/assets/366b0b0c-276a-42ea-8d88-5dbf25c8cbff" /> <img width="2560" height="1392" alt="image" src="https://github.com/user-attachments/assets/1b5bc21e-a196-4ee1-83b5-87a5d5e2423c" /> ## Tests [Cube.zip](https://github.com/user-attachments/files/26159038/Cube.zip) Fix #12704 Related to #12684
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#244