mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-28 07:35:20 +00:00
Apply printer model / variant preferences when loading presets
This commit is contained in:
@@ -54,8 +54,8 @@ int combochecklist_get_flags(SV *ui)
|
||||
void set_app_config(AppConfig *app_config)
|
||||
%code%{ Slic3r::GUI::set_app_config(app_config); %};
|
||||
|
||||
void open_config_wizard()
|
||||
%code%{ Slic3r::GUI::open_config_wizard(); %};
|
||||
void open_config_wizard(PresetBundle *preset_bundle)
|
||||
%code%{ Slic3r::GUI::open_config_wizard(preset_bundle); %};
|
||||
|
||||
void open_preferences_dialog(int preferences_event)
|
||||
%code%{ Slic3r::GUI::open_preferences_dialog(preferences_event); %};
|
||||
|
||||
@@ -147,7 +147,7 @@ PresetCollection::arrayref()
|
||||
void install_vendor_configbundle(const char *path)
|
||||
%code%{
|
||||
try {
|
||||
THIS->install_vendor_configbundle(path);
|
||||
THIS->install_vendor_configbundle(std::string(path));
|
||||
} catch (std::exception& e) {
|
||||
croak("Installing a vendor config bundle %s failed:\n%s\n", path, e.what());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user