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-10-15 17:31:20 +0300
committerbubnikv <bubnikv@gmail.com>2019-10-15 17:31:20 +0300
commit1964ac2e899e51c595cebe57db1b1b82f0d8bc17 (patch)
treed85ba47aa22991676993457d318e45e8f1d775cf /src/slic3r/GUI/Preset.hpp
parentc99e7cb0dfac109989f641313255904f493c7153 (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.hpp4
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);
};