mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-20 03:22:18 -07:00
FIX: modify the filament id for painting color
jira: none Change-Id: I25dcab95f1499783afd892c790f1e18232ea4f72 (cherry picked from commit f7a0e66e0dd16531d2318843ec86630232880867)
This commit is contained in:
parent
e8d77ddb58
commit
1765388326
4 changed files with 11 additions and 7 deletions
|
|
@ -2486,7 +2486,7 @@ void ModelVolume::update_extruder_count_when_delete_filament(size_t extruder_cou
|
|||
std::vector<int> used_extruders = get_extruders();
|
||||
for (int extruder_id : used_extruders) {
|
||||
if (extruder_id == filament_id) {
|
||||
mmu_segmentation_facets.set_enforcer_block_type_limit(*this, (EnforcerBlockerType)(extruder_count + 1), (EnforcerBlockerType)(filament_id + 1), (EnforcerBlockerType)(replace_filament_id + 1));
|
||||
mmu_segmentation_facets.set_enforcer_block_type_limit(*this, (EnforcerBlockerType)(extruder_count), (EnforcerBlockerType)(filament_id), (EnforcerBlockerType)(replace_filament_id));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue