mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-02 05:50:37 +08:00
Wipetower fix: temperature-changing command was sometimes missing after the toolchange
Cause: variable holding last issued temperature was not reset where it should have been This should fix issue #2685
This commit is contained in:
parent
07250bd781
commit
170bd8b064
@ -1242,6 +1242,8 @@ void WipeTower::generate(std::vector<std::vector<WipeTower::ToolChangeResult>> &
|
|||||||
for (auto& used : m_used_filament_length) // reset used filament stats
|
for (auto& used : m_used_filament_length) // reset used filament stats
|
||||||
used = 0.f;
|
used = 0.f;
|
||||||
|
|
||||||
|
m_old_temperature = -1; // reset last temperature written in the gcode
|
||||||
|
|
||||||
std::vector<WipeTower::ToolChangeResult> layer_result;
|
std::vector<WipeTower::ToolChangeResult> layer_result;
|
||||||
for (auto layer : m_plan)
|
for (auto layer : m_plan)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user