From e1278b6b539e4e85fd5a681a5b3fce936aed89d5 Mon Sep 17 00:00:00 2001 From: Stone Li Date: Mon, 19 Jun 2023 14:09:42 +0800 Subject: [PATCH] ENH: init a default arrow when filename of nozzle stl is empty Change-Id: If4df9d2b43a1894099dda0b8d41a8a9e1649f08e Signed-off-by: Stone Li --- 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 f3f7fdd8b..eb68952b1 100644 --- a/src/slic3r/GUI/GCodeViewer.cpp +++ b/src/slic3r/GUI/GCodeViewer.cpp @@ -319,7 +319,7 @@ void GCodeViewer::SequentialRangeCap::reset() { void GCodeViewer::SequentialView::Marker::init(std::string filename) { if (filename.empty()) { - //m_model.init_from(stilized_arrow(16, 1.5f, 3.0f, 0.8f, 3.0f)); + m_model.init_from(stilized_arrow(16, 1.5f, 3.0f, 0.8f, 3.0f)); } else { m_model.init_from_file(filename); }