mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 23:31:13 -06: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:
parent
c49d6a3ec7
commit
558a0753c1
6 changed files with 77 additions and 40 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue