From f0ae3b6ae19b0c13469c55083f3932d12fd6e635 Mon Sep 17 00:00:00 2001 From: David Kocik Date: Wed, 9 Feb 2022 11:09:14 +0100 Subject: [PATCH] debug log --- src/slic3r/GUI/HintNotification.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/slic3r/GUI/HintNotification.cpp b/src/slic3r/GUI/HintNotification.cpp index 14ebbc6a05..e6da09e9b1 100644 --- a/src/slic3r/GUI/HintNotification.cpp +++ b/src/slic3r/GUI/HintNotification.cpp @@ -123,6 +123,11 @@ TagCheckResult tag_check_tech(const std::string& tag) std::vector allowed_tags = { "FFF", "MMU", "SLA" }; if (std::find(allowed_tags.begin(), allowed_tags.end(), tag) != allowed_tags.end()) { const PrinterTechnology tech = wxGetApp().preset_bundle->printers.get_edited_preset().printer_technology(); + BOOST_LOG_TRIVIAL(error) << "Technology: " << (int)tech; + if (tech == ptUnknown) + BOOST_LOG_TRIVIAL(error) << "Hint notifications tag_check_tech gets UNKNOWN Printer technology."; + if (tech == ptAny) + BOOST_LOG_TRIVIAL(error) << "Hint notifications tag_check_tech gets ANY Printer technology."; if (tech == ptFFF) { // MMU / FFF bool is_mmu = wxGetApp().extruders_edited_cnt() > 1;