Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2016-10-06 22:41:52 +0300
committerbubnikv <bubnikv@gmail.com>2016-10-06 22:41:52 +0300
commitc16eca006512562b7f96f1941057749f044d31f5 (patch)
tree8e0b60c6afa40662acc3ab9fdc88789d4689dbd0 /xs/src/libslic3r/Config.cpp
parentee4b9ab82f1c11cfd08c9748f43a9d11764b7214 (diff)
Improvements of the C++ RectInfill2 code for supports:
Make the contours more continuous. Some documentation, asserts and such.
Diffstat (limited to 'xs/src/libslic3r/Config.cpp')
-rw-r--r--xs/src/libslic3r/Config.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xs/src/libslic3r/Config.cpp b/xs/src/libslic3r/Config.cpp
index b26a519bc..39c0da2bb 100644
--- a/xs/src/libslic3r/Config.cpp
+++ b/xs/src/libslic3r/Config.cpp
@@ -287,6 +287,7 @@ StaticConfig::set_defaults()
t_config_option_keys
StaticConfig::keys() const {
t_config_option_keys keys;
+ assert(this->def != NULL);
for (t_optiondef_map::const_iterator it = this->def->options.begin(); it != this->def->options.end(); ++it) {
const ConfigOption* opt = this->option(it->first);
if (opt != NULL) keys.push_back(it->first);