diff options
author | bubnikv <bubnikv@gmail.com> | 2019-10-15 17:31:20 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2019-10-15 17:31:20 +0300 |
commit | 1964ac2e899e51c595cebe57db1b1b82f0d8bc17 (patch) | |
tree | d85ba47aa22991676993457d318e45e8f1d775cf /src/slic3r/GUI/Preset.hpp | |
parent | c99e7cb0dfac109989f641313255904f493c7153 (diff) |
Ported test_skirt_brim from upstream Slic3r, thanks @lordofhyphens
Diffstat (limited to 'src/slic3r/GUI/Preset.hpp')
-rw-r--r-- | src/slic3r/GUI/Preset.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/slic3r/GUI/Preset.hpp b/src/slic3r/GUI/Preset.hpp index 6ed818719..e2e4baa88 100644 --- a/src/slic3r/GUI/Preset.hpp +++ b/src/slic3r/GUI/Preset.hpp @@ -202,7 +202,7 @@ public: void set_visible_from_appconfig(const AppConfig &app_config); // Resize the extruder specific fields, initialize them with the content of the 1st extruder. - void set_num_extruders(unsigned int n) { set_num_extruders(this->config, n); } + void set_num_extruders(unsigned int n) { this->config.set_num_extruders(n); } // Sort lexicographically by a preset name. The preset name shall be unique across a single PresetCollection. bool operator<(const Preset &other) const { return this->name < other.name; } @@ -227,8 +227,6 @@ public: protected: friend class PresetCollection; friend class PresetBundle; - // Resize the extruder specific vectors () - static void set_num_extruders(DynamicPrintConfig &config, unsigned int n); static std::string remove_suffix_modified(const std::string &name); }; |