diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2014-12-08 23:23:42 +0300 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2014-12-08 23:23:42 +0300 |
commit | d350241da341542fb45e4d6a3a7896136ce2fa40 (patch) | |
tree | f947c6d96e3f2d88c205b49fbed4543d42e5b048 /xs | |
parent | 9a9ba02d85dbd735998fac95dba66365d4df9ef8 (diff) |
Make combine_infill() completely idempotent. Includes unit testing
Diffstat (limited to 'xs')
-rw-r--r-- | xs/src/libslic3r/PrintObject.cpp | 4 |
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); |