mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: increate filament idx in print apply
1.Used filament idx is 1 based jira:STUDIO-9523,STUDIO-9522,STUDIO-9513 Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: Ic669a079660b49cb71fb8c4750cae5f7874d825d (cherry picked from commit 59907ef532c60ffe6a46dd5e1a5ff9d39fdc1591)
This commit is contained in:
@@ -1175,7 +1175,7 @@ Print::ApplyStatus Print::apply(const Model &model, DynamicPrintConfig new_full_
|
||||
for (size_t index = 0; index < old_filament_map.size(); index++)
|
||||
{
|
||||
if ((old_filament_map[index] == new_filament_map[index])
|
||||
|| (used_filament_set.find(index + 1) == used_filament_set.end()))
|
||||
|| (used_filament_set.find(index) == used_filament_set.end()))
|
||||
continue;
|
||||
else {
|
||||
same_map = false;
|
||||
|
||||
Reference in New Issue
Block a user