mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 02:05:58 +08:00
Merge branch 'master' of https://github.com/prusa3d/Slic3r
This commit is contained in:
commit
3b38c36262
@ -44,12 +44,12 @@ static PrinterTechnology printer_technology()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Config from current edited printer preset
|
// Config from current edited printer preset
|
||||||
DynamicPrintConfig& printer_config()
|
static DynamicPrintConfig& printer_config()
|
||||||
{
|
{
|
||||||
return wxGetApp().preset_bundle->printers.get_edited_preset().config;
|
return wxGetApp().preset_bundle->printers.get_edited_preset().config;
|
||||||
}
|
}
|
||||||
|
|
||||||
int extruders_count()
|
static int extruders_count()
|
||||||
{
|
{
|
||||||
return printer_technology() == ptSLA ? 1 :
|
return printer_technology() == ptSLA ? 1 :
|
||||||
printer_config().option<ConfigOptionFloats>("nozzle_diameter")->values.size();
|
printer_config().option<ConfigOptionFloats>("nozzle_diameter")->values.size();
|
||||||
|
@ -74,7 +74,7 @@ void Tab::set_type()
|
|||||||
void Tab::create_preset_tab()
|
void Tab::create_preset_tab()
|
||||||
{
|
{
|
||||||
#ifdef __WINDOWS__
|
#ifdef __WINDOWS__
|
||||||
SetDoubleBuffered(true);
|
// SetDoubleBuffered(true);
|
||||||
#endif //__WINDOWS__
|
#endif //__WINDOWS__
|
||||||
|
|
||||||
m_preset_bundle = wxGetApp().preset_bundle;
|
m_preset_bundle = wxGetApp().preset_bundle;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user