Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2019-07-18 18:41:47 +0300
committerbubnikv <bubnikv@gmail.com>2019-07-18 18:41:47 +0300
commita0ea96968d9097ad2f329e1e34bf207d955bed04 (patch)
tree5f169187c087e74a24009acf129dc7726b8da9f1 /src/slic3r/GUI/GUI.cpp
parent631a952f94b9307eb1d696d9f0dfcb2ed1da799a (diff)
Storing the active printer technology onto the Undo / Redo stack,
remembering the last selected Printer profile for the SLA and FDM technologies separately, and activating them on Undo / Redo. When switching the technologies, user is asked whether to discard the modified profiles or not.
Diffstat (limited to 'src/slic3r/GUI/GUI.cpp')
-rw-r--r--src/slic3r/GUI/GUI.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/slic3r/GUI/GUI.cpp b/src/slic3r/GUI/GUI.cpp
index 9a641c7c0..8f41ed5a3 100644
--- a/src/slic3r/GUI/GUI.cpp
+++ b/src/slic3r/GUI/GUI.cpp
@@ -135,8 +135,7 @@ void config_wizard(int reason)
wxGetApp().load_current_presets();
- if (wxGetApp().preset_bundle->printers.get_edited_preset().printer_technology() == ptSLA &&
- wxGetApp().obj_list()->has_multi_part_objects())
+ if (wxGetApp().preset_bundle->printers.get_edited_preset().printer_technology() == ptSLA && model_has_multi_part_objects(wxGetApp().model()))
{
show_info(nullptr,
_(L("It's impossible to print multi-part object(s) with SLA technology.")) + "\n\n" +