From 6f5bf71f11b989e056ef8e31ff811548443085c2 Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Wed, 24 Feb 2021 19:53:50 +0100 Subject: [PATCH] Fixing some compiler warnings --- src/libslic3r/PrintConfig.hpp | 2 +- src/slic3r/GUI/Tab.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libslic3r/PrintConfig.hpp b/src/libslic3r/PrintConfig.hpp index f56316356..c1e3f82cb 100644 --- a/src/libslic3r/PrintConfig.hpp +++ b/src/libslic3r/PrintConfig.hpp @@ -513,7 +513,7 @@ public: ConfigOptionFloat support_material_interface_spacing; ConfigOptionFloatOrPercent support_material_interface_speed; ConfigOptionEnum support_material_pattern; - ConfigOptionEnum support_material_interface_pattern; + ConfigOptionEnum support_material_interface_pattern; // Spacing between support material lines (the hatching distance). ConfigOptionFloat support_material_spacing; ConfigOptionFloat support_material_speed; diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index 374789815..947c058a4 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -3834,7 +3834,7 @@ bool Tab::validate_custom_gcodes() { bool valid = true; if ((m_type == Preset::TYPE_FILAMENT || - m_type == Preset::TYPE_PRINTER && static_cast(this)->m_printer_technology == ptFFF) && + (m_type == Preset::TYPE_PRINTER && static_cast(this)->m_printer_technology == ptFFF)) && m_active_page->title() == "Custom G-code") { for (auto opt_group : m_active_page->m_optgroups) { assert(opt_group->opt_map().size() == 1);