mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
FIX: Painting displays incorrectly when removing color
jira: STUDIO-8657 Change-Id: I0fdfac500716d83f45c73dc07feab032e793e7a5 (cherry picked from commit 695b3c78e4b283df1ac5e5f63e73b0cbbc6196a2)
This commit is contained in:
@@ -2485,7 +2485,7 @@ void ModelVolume::update_extruder_count_when_delete_filament(size_t extruder_cou
|
|||||||
{
|
{
|
||||||
std::vector<int> used_extruders = get_extruders();
|
std::vector<int> used_extruders = get_extruders();
|
||||||
for (int extruder_id : used_extruders) {
|
for (int extruder_id : used_extruders) {
|
||||||
if (extruder_id == filament_id) {
|
if (extruder_id >= filament_id) {
|
||||||
mmu_segmentation_facets.set_enforcer_block_type_limit(*this, (EnforcerBlockerType)(extruder_count), (EnforcerBlockerType)(filament_id), (EnforcerBlockerType)(replace_filament_id));
|
mmu_segmentation_facets.set_enforcer_block_type_limit(*this, (EnforcerBlockerType)(extruder_count), (EnforcerBlockerType)(filament_id), (EnforcerBlockerType)(replace_filament_id));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user