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-01-11 13:15:32 +0300
committerbubnikv <bubnikv@gmail.com>2019-01-11 13:15:32 +0300
commita552a7bc7889cad24a79c267c9743b7338bf0157 (patch)
tree3419b9a4e931521a3be0f1431ae20c28709200cc /src/slic3r/GUI/Preset.hpp
parent14096da20ad1a0949c920d8ad7a4b4bf724225f8 (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.hpp2
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); }