mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-06 22:47:32 -06:00
Fix #6839 with final tool preheating on multitool machines causing in appropriate temp settings Seems like Orca is trying to preheat the next tool in a multitool print, and ends up calling a heater off command in the last 30 seconds of any print. This happens because there's no handling to check if the next active tool is an actual valid tool index, or its a T-1 command to end the print since we're using the last tool. Simply moved the preheat commands into the conditional IF that automatically fixes this issue since the tool index is now properly evaluated. Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
parent
e395ba18ad
commit
d9c27f3dee
1 changed files with 48 additions and 47 deletions
|
@ -4602,7 +4602,6 @@ void GCodeProcessor::run_post_process()
|
||||||
if (m_print != nullptr)
|
if (m_print != nullptr)
|
||||||
m_print->active_step_add_warning(PrintStateBase::WarningLevel::CRITICAL, warning);
|
m_print->active_step_add_warning(PrintStateBase::WarningLevel::CRITICAL, warning);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
export_lines.insert_lines(
|
export_lines.insert_lines(
|
||||||
backtrace, cmd,
|
backtrace, cmd,
|
||||||
// line inserter
|
// line inserter
|
||||||
|
@ -4650,7 +4649,9 @@ void GCodeProcessor::run_post_process()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return line;
|
return line;
|
||||||
});
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue