Skip to content

Commit

Permalink
Bugfix: changes to the resolution config option didn't trigger reslic…
Browse files Browse the repository at this point in the history
…ing. #2795
  • Loading branch information
alranel committed Apr 29, 2015
1 parent d6d7880 commit a16dda0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion xs/src/libslic3r/Print.cpp
Expand Up @@ -172,7 +172,8 @@ Print::invalidate_state_by_config_options(const std::vector<t_config_option_key>
} else if (*opt_key == "brim_width") {
steps.insert(psBrim);
steps.insert(psSkirt);
} else if (*opt_key == "nozzle_diameter") {
} else if (*opt_key == "nozzle_diameter"
|| *opt_key == "resolution") {
osteps.insert(posSlice);
} else if (*opt_key == "avoid_crossing_perimeters"
|| *opt_key == "bed_shape"
Expand Down
3 changes: 1 addition & 2 deletions xs/src/libslic3r/PrintObject.cpp
Expand Up @@ -222,8 +222,7 @@ PrintObject::invalidate_state_by_config_options(const std::vector<t_config_optio
|| *opt_key == "thin_walls"
|| *opt_key == "external_perimeters_first") {
steps.insert(posPerimeters);
} else if (*opt_key == "resolution"
|| *opt_key == "layer_height"
} else if (*opt_key == "layer_height"
|| *opt_key == "first_layer_height"
|| *opt_key == "xy_size_compensation"
|| *opt_key == "raft_layers") {
Expand Down

0 comments on commit a16dda0

Please sign in to comment.