mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-24 22:17:32 -07: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:
parent
a7c6b384e4
commit
385e5b24f9
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue