mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-06 17:27:06 +02: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