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
path: root/xs
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2014-12-08 23:23:42 +0300
committerAlessandro Ranellucci <aar@cpan.org>2014-12-08 23:23:42 +0300
commitd350241da341542fb45e4d6a3a7896136ce2fa40 (patch)
treef947c6d96e3f2d88c205b49fbed4543d42e5b048 /xs
parent9a9ba02d85dbd735998fac95dba66365d4df9ef8 (diff)
Make combine_infill() completely idempotent. Includes unit testing
Diffstat (limited to 'xs')
-rw-r--r--xs/src/libslic3r/PrintObject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xs/src/libslic3r/PrintObject.cpp b/xs/src/libslic3r/PrintObject.cpp
index 16c904cfb..0da9d589b 100644
--- a/xs/src/libslic3r/PrintObject.cpp
+++ b/xs/src/libslic3r/PrintObject.cpp
@@ -249,6 +249,8 @@ PrintObject::invalidate_state_by_config_options(const std::vector<t_config_optio
steps.insert(posSupportMaterial);
} else if (*opt_key == "interface_shells"
|| *opt_key == "infill_only_where_needed"
+ || *opt_key == "infill_every_layers"
+ || *opt_key == "solid_infill_every_layers"
|| *opt_key == "bottom_solid_layers"
|| *opt_key == "top_solid_layers"
|| *opt_key == "solid_infill_below_area"
@@ -258,8 +260,6 @@ PrintObject::invalidate_state_by_config_options(const std::vector<t_config_optio
} else if (*opt_key == "external_fill_pattern"
|| *opt_key == "fill_angle"
|| *opt_key == "fill_pattern"
- || *opt_key == "infill_every_layers"
- || *opt_key == "solid_infill_every_layers"
|| *opt_key == "top_infill_extrusion_width"
|| *opt_key == "first_layer_extrusion_width") {
steps.insert(posInfill);