diff options
author | bubnikv <bubnikv@gmail.com> | 2019-01-11 13:15:32 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2019-01-11 13:15:32 +0300 |
commit | a552a7bc7889cad24a79c267c9743b7338bf0157 (patch) | |
tree | 3419b9a4e931521a3be0f1431ae20c28709200cc /src/slic3r/GUI/Preset.hpp | |
parent | 14096da20ad1a0949c920d8ad7a4b4bf724225f8 (diff) |
Fixed a buggy test for a single extruder diameter for Single Extruder
Multi Material prints & soluble supports.
Disabled assert testing for the existence of "printer_technology" fields
as it triggers on loading of legacy AMF/3MF files.
Diffstat (limited to 'src/slic3r/GUI/Preset.hpp')
-rw-r--r-- | src/slic3r/GUI/Preset.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/Preset.hpp b/src/slic3r/GUI/Preset.hpp index 021fea22c..eae406bef 100644 --- a/src/slic3r/GUI/Preset.hpp +++ b/src/slic3r/GUI/Preset.hpp @@ -166,7 +166,7 @@ public: auto *opt = cfg.option<ConfigOptionEnum<PrinterTechnology>>("printer_technology"); // The following assert may trigger when importing some legacy profile, // but it is safer to keep it here to capture the cases where the "printer_technology" key is queried, where it should not. - assert(opt != nullptr); +// assert(opt != nullptr); return (opt == nullptr) ? ptFFF : opt->value; } PrinterTechnology printer_technology() const { return Preset::printer_technology(this->config); } |