mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Fix for "Import config bundle with physical printers" (#5393)
This commit is contained in:
@@ -1487,6 +1487,12 @@ bool PhysicalPrinter::delete_preset(const std::string& preset_name)
|
||||
return preset_names.erase(preset_name) > 0;
|
||||
}
|
||||
|
||||
PhysicalPrinter::PhysicalPrinter(const std::string& name, const DynamicPrintConfig& default_config) :
|
||||
name(name), config(default_config)
|
||||
{
|
||||
update_from_config(config);
|
||||
}
|
||||
|
||||
PhysicalPrinter::PhysicalPrinter(const std::string& name, const DynamicPrintConfig &default_config, const Preset& preset) :
|
||||
name(name), config(default_config)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user