mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-28 07:35:20 +00:00
Improved loading of the config wizard results.
Fixed some updates of the "compatible with printer" flags at the print and filament presets.
This commit is contained in:
@@ -119,6 +119,14 @@ PresetCollection::arrayref()
|
||||
Slic3r::data_dir().c_str(), e.what());
|
||||
}
|
||||
%};
|
||||
void load_config(const char *name, DynamicPrintConfig *config)
|
||||
%code%{
|
||||
try {
|
||||
THIS->load_config(name, *config);
|
||||
} catch (std::exception& e) {
|
||||
croak("Loading a configuration %s failed:\n%s\n", name, e.what());
|
||||
}
|
||||
%};
|
||||
void load_config_file(const char *path)
|
||||
%code%{
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user