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>2020-01-07 16:08:21 +0300
committerbubnikv <bubnikv@gmail.com>2020-01-07 16:08:35 +0300
commit70bc392003738cf30882f40ca9a7501b24db80f8 (patch)
tree722466c55a389baaa2e92b80e41b765707846409 /src/slic3r/GUI/Preset.cpp
parent8559360cf8314c0630b1a5774c317db6adb3dbe6 (diff)
Support for Vendor / Printer Model specific print bed texture and model.
Diffstat (limited to 'src/slic3r/GUI/Preset.cpp')
-rw-r--r--src/slic3r/GUI/Preset.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/slic3r/GUI/Preset.cpp b/src/slic3r/GUI/Preset.cpp
index c2439b26f..c20a5bb28 100644
--- a/src/slic3r/GUI/Preset.cpp
+++ b/src/slic3r/GUI/Preset.cpp
@@ -184,6 +184,8 @@ VendorProfile VendorProfile::from_ini(const ptree &tree, const boost::filesystem
} else {
BOOST_LOG_TRIVIAL(error) << boost::format("Vendor bundle: `%1%`: Malformed variants field: `%2%`") % id % variants_field;
}
+ model.bed_model = section.second.get<std::string>("bed_model", "");
+ model.bed_texture = section.second.get<std::string>("bed_texture", "");
if (! model.id.empty() && ! model.variants.empty())
res.models.push_back(std::move(model));
}