From f2e2b03fa469e86c7d772b6fc6fdd9741d6767d7 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Mon, 20 Dec 2021 16:19:01 +0100 Subject: [PATCH] Follow-up to 942c6ea7d89a0473b4f2b5529c516316b0b44b6b - an assert is commented. Note: value can be equal to zero, when move.type==Travel --- src/slic3r/GUI/GCodeViewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GCodeViewer.cpp b/src/slic3r/GUI/GCodeViewer.cpp index d3a2e784b..06370de6e 100644 --- a/src/slic3r/GUI/GCodeViewer.cpp +++ b/src/slic3r/GUI/GCodeViewer.cpp @@ -77,7 +77,7 @@ static std::vector> decode_colors(const std::vector 0); +// assert(value > 0); constexpr float const scale [5] = { 100.f, 1000.f, 10000.f, 100000.f, 1000000.f }; constexpr float const invscale [5] = { 0.01f, 0.001f, 0.0001f, 0.00001f, 0.000001f }; constexpr float const threshold[5] = { 0.095f, 0.0095f, 0.00095f, 0.000095f, 0.0000095f };