mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: wrong flush logic
1.Fix flush calc logic 2.Rename m_extruder in GCodeWriter jira:NEW Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: I38f023fbad983305632ca62cbfb3909759013c25 (cherry picked from commit f1b0805ed13eb94d6eb61e12330db3d628c0241b)
This commit is contained in:
@@ -773,7 +773,7 @@ static bool need_wipe(const GCode &gcodegen,
|
||||
const Polyline &result_travel,
|
||||
const size_t intersection_count)
|
||||
{
|
||||
bool z_lift_enabled = gcodegen.config().z_hop.get_at(gcodegen.writer().extruder()->extruder_id()) > 0.;
|
||||
bool z_lift_enabled = gcodegen.config().z_hop.get_at(gcodegen.writer().filament()->id()) > 0.;
|
||||
bool wipe_needed = false;
|
||||
|
||||
// If the original unmodified path doesn't have any intersection with boundary, then it is entirely inside the object otherwise is entirely
|
||||
|
||||
Reference in New Issue
Block a user