diff options
author | bubnikv <bubnikv@gmail.com> | 2018-04-13 17:19:27 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2018-04-13 17:19:27 +0300 |
commit | c5af8bfe789526bdd3ae78786400f45d89ae9f98 (patch) | |
tree | b9943c57335878b6aaff2c869bbcf3c79723ea5a /xs/src/slic3r/GUI/PresetBundle.cpp | |
parent | 6d25ed2b00447ca3b0ed48a9d0ec288ee8b24503 (diff) | |
parent | 7dbb2ed6a3f97b585ed7341a9199bfd40627da6b (diff) |
Merged with Vojtech's branch
Diffstat (limited to 'xs/src/slic3r/GUI/PresetBundle.cpp')
-rw-r--r-- | xs/src/slic3r/GUI/PresetBundle.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xs/src/slic3r/GUI/PresetBundle.cpp b/xs/src/slic3r/GUI/PresetBundle.cpp index 244915864..27dee6383 100644 --- a/xs/src/slic3r/GUI/PresetBundle.cpp +++ b/xs/src/slic3r/GUI/PresetBundle.cpp @@ -713,8 +713,7 @@ size_t PresetBundle::load_configbundle(const std::string &path, unsigned int fla const VendorProfile *vendor_profile = nullptr; if (flags & (LOAD_CFGBNDLE_SYSTEM | LOAD_CFGBUNDLE_VENDOR_ONLY)) { - boost::filesystem::path fspath(path); - auto vp = VendorProfile::from_ini(tree, fspath.stem().string()); + auto vp = VendorProfile::from_ini(tree, path); if (vp.num_variants() == 0) return 0; vendor_profile = &(*this->vendors.insert(vp).first); |