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:
authorVojtech Kral <vojtech@kral.hk>2019-04-12 17:18:46 +0300
committerVojtech Kral <vojtech@kral.hk>2019-09-17 14:20:06 +0300
commit34b354810208fe39d8a8a0e244b5a77d81f35578 (patch)
tree42c5e25ca8bb411c7deb9d2117a10e6ec64410d5 /src/slic3r/GUI/PresetBundle.cpp
parenta93e63e296e7041ee2ec8f16762623551bbd9025 (diff)
Filaments and materials selection/installation
Diffstat (limited to 'src/slic3r/GUI/PresetBundle.cpp')
-rw-r--r--src/slic3r/GUI/PresetBundle.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/slic3r/GUI/PresetBundle.cpp b/src/slic3r/GUI/PresetBundle.cpp
index d9e90333c..f254ad15c 100644
--- a/src/slic3r/GUI/PresetBundle.cpp
+++ b/src/slic3r/GUI/PresetBundle.cpp
@@ -323,6 +323,14 @@ void PresetBundle::load_installed_printers(const AppConfig &config)
for (auto &preset : printers) {
preset.set_visible_from_appconfig(config);
}
+
+ for (auto &preset : filaments) {
+ preset.set_visible_from_appconfig(config);
+ }
+
+ for (auto &preset : sla_materials) {
+ preset.set_visible_from_appconfig(config);
+ }
}
// Load selections (current print, current filaments, current printer) from config.ini