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
This commit is contained in:
parent
6018d326f4
commit
59907ef532
|
@ -1171,7 +1171,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;
|
||||
|
|
Loading…
Reference in New Issue