diff --git a/src/slic3r/GUI/GUI_ObjectList.cpp b/src/slic3r/GUI/GUI_ObjectList.cpp index f6ccbbd7d..7eef82063 100644 --- a/src/slic3r/GUI/GUI_ObjectList.cpp +++ b/src/slic3r/GUI/GUI_ObjectList.cpp @@ -44,12 +44,12 @@ static PrinterTechnology printer_technology() } // Config from current edited printer preset -DynamicPrintConfig& printer_config() +static DynamicPrintConfig& printer_config() { return wxGetApp().preset_bundle->printers.get_edited_preset().config; } -int extruders_count() +static int extruders_count() { return printer_technology() == ptSLA ? 1 : printer_config().option("nozzle_diameter")->values.size(); diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index bd0adcab0..ae33443c3 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -74,7 +74,7 @@ void Tab::set_type() void Tab::create_preset_tab() { #ifdef __WINDOWS__ - SetDoubleBuffered(true); +// SetDoubleBuffered(true); #endif //__WINDOWS__ m_preset_bundle = wxGetApp().preset_bundle;