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-08-30 18:40:25 +0300
committerVojtech Kral <vojtech@kral.hk>2019-09-17 14:20:06 +0300
commitc5a67ff931f78adb78ed853756ba46c8d9da0fd4 (patch)
treeb8f4f3835acb70084f8d6d438904a61c61ecb0cd /src/slic3r/GUI/PresetBundle.hpp
parent9a465514ff1169d9fece05449d37285f4997b346 (diff)
WIP: filament/material filtering per selected printers
Diffstat (limited to 'src/slic3r/GUI/PresetBundle.hpp')
-rw-r--r--src/slic3r/GUI/PresetBundle.hpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/slic3r/GUI/PresetBundle.hpp b/src/slic3r/GUI/PresetBundle.hpp
index 0fea2a0f8..79519071b 100644
--- a/src/slic3r/GUI/PresetBundle.hpp
+++ b/src/slic3r/GUI/PresetBundle.hpp
@@ -134,20 +134,21 @@ public:
void load_default_preset_bitmaps(wxWindow *window);
+ // FIXME: rm
void load_available_system_presets(); // XXX: name XXX: retval (VendorMap stored internally)
+ // Set the is_visible flag for printer vendors, printer models and printer variants
+ // based on the user configuration.
+ // If the "vendor" section is missing, enable all models and variants of the particular vendor.
+ void load_installed_printers(const AppConfig &config);
+
static const char *PRUSA_BUNDLE;
private:
std::string load_system_presets();
// Merge one vendor's presets with the other vendor's presets, report duplicates.
std::vector<std::string> merge_presets(PresetBundle &&other);
- // Set the "enabled" flag for printer vendors, printer models and printer variants
- // based on the user configuration.
- // If the "vendor" section is missing, enable all models and variants of the particular vendor.
- void load_installed_printers(const AppConfig &config);
-
- // Set the enabled flag for filaments and sla materials,
+ // Set the is_visible flag for filaments and sla materials,
// apply defaults based on enabled printers when no filaments/materials are installed.
void load_installed_filaments(AppConfig &config);
void load_installed_sla_materials(AppConfig &config);