fix: filament remap should not "paint" unpainted triangles #632

Closed
opened 2026-04-05 16:24:32 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Sabriel-Koh on 2/23/2026

Description

When remapping filaments, the object/volume colour is treated as if it was extruder 0 and remapped accordingly, even though it could actually be set to extruder 3. Furthermore, when remapping the filament, the colour is applied directly to unpainted triangles, and when trying to set the volume colour, they fail to update since the colour is treated as being "painted on".

This fix prevents the remapping of unpainted triangles, allowing them to reflect the colour of the volume's set extruder. Where relevant, the model object is updated to match the new filament colour as well, instead of just the volume, and finally, the sidebar UI displaying the set extruder of the object/volume is updated after remapping, to accurately reflect the object colours.

Fixes #12222

Screenshots/Recordings/Graphs

Bugged:

https://github.com/user-attachments/assets/8efdd644-f32c-4bc9-852f-6eccc80119bd

Fixed:

https://github.com/user-attachments/assets/1b3005e0-fa19-44ef-98cf-0c09caece433

Tests

Shown above.

*Originally created by @Sabriel-Koh on 2/23/2026* # Description When remapping filaments, the object/volume colour is treated as if it was extruder 0 and remapped accordingly, even though it could actually be set to extruder 3. Furthermore, when remapping the filament, the colour is applied directly to unpainted triangles, and when trying to set the volume colour, they fail to update since the colour is treated as being "painted on". This fix prevents the remapping of unpainted triangles, allowing them to reflect the colour of the volume's set extruder. Where relevant, the model object is updated to match the new filament colour as well, instead of just the volume, and finally, the sidebar UI displaying the set extruder of the object/volume is updated after remapping, to accurately reflect the object colours. Fixes #12222 # Screenshots/Recordings/Graphs Bugged: https://github.com/user-attachments/assets/8efdd644-f32c-4bc9-852f-6eccc80119bd Fixed: https://github.com/user-attachments/assets/1b3005e0-fa19-44ef-98cf-0c09caece433 ## Tests Shown above.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#632