From 09cff499450615c2515921b547158c356b9f72e3 Mon Sep 17 00:00:00 2001 From: supermerill Date: Sun, 2 Aug 2020 21:36:07 +0200 Subject: [PATCH] bad assert fix --- src/libslic3r/GCodeWriter.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libslic3r/GCodeWriter.cpp b/src/libslic3r/GCodeWriter.cpp index 172739cd8..cd6cb9885 100644 --- a/src/libslic3r/GCodeWriter.cpp +++ b/src/libslic3r/GCodeWriter.cpp @@ -416,7 +416,6 @@ bool GCodeWriter::will_move_z(double z) const std::string GCodeWriter::extrude_to_xy(const Vec2d &point, double dE, const std::string &comment) { assert(dE == dE); - assert(dE > 0); m_pos.x() = point.x(); m_pos.y() = point.y(); bool is_extrude = m_tool->extrude(dE) != 0; @@ -434,7 +433,6 @@ std::string GCodeWriter::extrude_to_xy(const Vec2d &point, double dE, const std: std::string GCodeWriter::extrude_to_xyz(const Vec3d &point, double dE, const std::string &comment) { assert(dE == dE); - assert(dE > 0); m_pos.x() = point.x(); m_pos.y() = point.y(); m_lifted = 0;