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:
authorYuSanka <yusanka@gmail.com>2019-09-03 11:27:16 +0300
committerYuSanka <yusanka@gmail.com>2019-09-03 11:29:17 +0300
commitc960c2cf2782155939dd61983b25c9ebd1a335db (patch)
tree0e9f63e0ce67e75cbf059ff47c58c1c21b9e5ac6 /src/slic3r/GUI/PresetBundle.cpp
parentb89d9c7affbdfccc99fdac0de4b1b67aa169c5d3 (diff)
Code clean in Tab.cpp and Fixed couple of Mac-warnings in :
GUI.cpp GUI_App.cpp GUI_ObjectList.cpp MainFrame.hpp Plater.cpp PresetBundle.cpp PresetHints.cpp Tab.cpp Tab.hpp wxExtensions.cpp wxExtensions.hpp
Diffstat (limited to 'src/slic3r/GUI/PresetBundle.cpp')
-rw-r--r--src/slic3r/GUI/PresetBundle.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slic3r/GUI/PresetBundle.cpp b/src/slic3r/GUI/PresetBundle.cpp
index 29f12a4d2..b5b62514b 100644
--- a/src/slic3r/GUI/PresetBundle.cpp
+++ b/src/slic3r/GUI/PresetBundle.cpp
@@ -697,6 +697,7 @@ void PresetBundle::load_config_file_config(const std::string &name_or_path, bool
config.option<ConfigOptionString>("default_sla_print_profile", true);
config.option<ConfigOptionString>("default_sla_material_profile", true);
break;
+ default: break;
}
// 1) Create a name from the file name.
@@ -805,6 +806,7 @@ void PresetBundle::load_config_file_config(const std::string &name_or_path, bool
load_preset(this->sla_materials, 1, "sla_material_settings_id");
load_preset(this->printers, 2, "printer_settings_id");
break;
+ default: break;
}
this->update_compatible(false);
@@ -1349,6 +1351,7 @@ void PresetBundle::update_compatible(bool select_other_if_incompatible)
[&prefered_sla_material_profile](const std::string& profile_name){ return profile_name == prefered_sla_material_profile; });
break;
}
+ default: break;
}
}