From a16dda0885a269b3d96e9106309aad5cf4a68edd Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Wed, 29 Apr 2015 19:22:44 +0200 Subject: [PATCH] Bugfix: changes to the resolution config option didn't trigger reslicing. #2795 --- xs/src/libslic3r/Print.cpp | 3 ++- xs/src/libslic3r/PrintObject.cpp | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xs/src/libslic3r/Print.cpp b/xs/src/libslic3r/Print.cpp index 6fff54720d..3ee2d0c1f4 100644 --- a/xs/src/libslic3r/Print.cpp +++ b/xs/src/libslic3r/Print.cpp @@ -172,7 +172,8 @@ Print::invalidate_state_by_config_options(const std::vector } 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" diff --git a/xs/src/libslic3r/PrintObject.cpp b/xs/src/libslic3r/PrintObject.cpp index cf1ee20e48..46d08e06f2 100644 --- a/xs/src/libslic3r/PrintObject.cpp +++ b/xs/src/libslic3r/PrintObject.cpp @@ -222,8 +222,7 @@ PrintObject::invalidate_state_by_config_options(const std::vector