diff --git a/src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp b/src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp index 1e56e1eeca..51191fcf22 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp @@ -1420,22 +1420,22 @@ void GLGizmoSVG::draw_preview(){ } ImGui::Image(id, s); - if(ImGui::IsItemHovered()){ - const EmbossShape &es = *m_volume->emboss_shape; - size_t count_of_shapes = get_shapes_count(*es.svg_file.image); - size_t count_of_expolygons = 0; - size_t count_of_points = 0; - for (const auto &shape : es.shapes_with_ids) { - for (const ExPolygon &expoly : shape.expoly){ - ++count_of_expolygons; - count_of_points += count_points(expoly); - } - } - // Do not translate it is only for debug - std::string tooltip = GUI::format("%1% shapes, which create %2% polygons with %3% line segments", - count_of_shapes, count_of_expolygons, count_of_points); - ImGui::SetTooltip("%s", tooltip.c_str()); - } + //if(ImGui::IsItemHovered()){ + // const EmbossShape &es = *m_volume->emboss_shape; + // size_t count_of_shapes = get_shapes_count(*es.svg_file.image); + // size_t count_of_expolygons = 0; + // size_t count_of_points = 0; + // for (const auto &shape : es.shapes_with_ids) { + // for (const ExPolygon &expoly : shape.expoly){ + // ++count_of_expolygons; + // count_of_points += count_points(expoly); + // } + // } + // // Do not translate it is only for debug + // std::string tooltip = GUI::format("%1% shapes, which create %2% polygons with %3% line segments", + // count_of_shapes, count_of_expolygons, count_of_points); + // ImGui::SetTooltip("%s", tooltip.c_str()); + //} if (spacing.has_value()) ImGui::SetCursorPosY(ImGui::GetCursorPosY() + *spacing);