diff options
author | bubnikv <bubnikv@gmail.com> | 2019-06-26 14:26:49 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2019-06-26 14:26:49 +0300 |
commit | a710e7e7e4392e1be26db508784b2a35c1e75743 (patch) | |
tree | d0be19ef14dcd0bc3c5c16e80794e42297a4d194 /src/slic3r/GUI/PresetBundle.cpp | |
parent | 27cc66eb54e8da3f0c644196c4ecaa7a9cfd8259 (diff) |
WIP: Undo / Redo stack.
Integration of the "cereal" serialization library.
Serialization / deserialization of the DynamicConfig / DynamicPrintConfig.
DynamicPrintConfig serializes ordinal identifiers instead
of the option key strings to conserve space.
Diffstat (limited to 'src/slic3r/GUI/PresetBundle.cpp')
-rw-r--r-- | src/slic3r/GUI/PresetBundle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/PresetBundle.cpp b/src/slic3r/GUI/PresetBundle.cpp index b28cb2eda..00c1f8168 100644 --- a/src/slic3r/GUI/PresetBundle.cpp +++ b/src/slic3r/GUI/PresetBundle.cpp @@ -1366,7 +1366,7 @@ void PresetBundle::export_configbundle(const std::string &path, bool export_syst continue; c << std::endl << "[" << presets->section_name() << ":" << preset.name << "]" << std::endl; for (const std::string &opt_key : preset.config.keys()) - c << opt_key << " = " << preset.config.serialize(opt_key) << std::endl; + c << opt_key << " = " << preset.config.opt_serialize(opt_key) << std::endl; } } |