mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 10:45:52 +08:00
setting z_step reset correctly current slices #784
This commit is contained in:
parent
98cfe57b8a
commit
3b1b2b6165
@ -230,7 +230,8 @@ bool Print::invalidate_state_by_config_options(const std::vector<t_config_option
|
||||
// Spiral Vase forces different kind of slicing than the normal model:
|
||||
// In Spiral Vase mode, holes are closed and only the largest area contour is kept at each layer.
|
||||
// Therefore toggling the Spiral Vase on / off requires complete reslicing.
|
||||
|| opt_key == "spiral_vase") {
|
||||
|| opt_key == "spiral_vase"
|
||||
|| opt_key == "z_step") {
|
||||
osteps.emplace_back(posSlice);
|
||||
} else if (
|
||||
opt_key == "filament_type"
|
||||
|
@ -715,8 +715,7 @@ namespace Slic3r {
|
||||
|| opt_key == "hole_size_compensation"
|
||||
|| opt_key == "hole_size_threshold"
|
||||
|| opt_key == "hole_to_polyhole"
|
||||
|| opt_key == "hole_to_polyhole_threshold"
|
||||
|| opt_key == "z_step") {
|
||||
|| opt_key == "hole_to_polyhole_threshold") {
|
||||
steps.emplace_back(posSlice);
|
||||
} else if (opt_key == "support_material") {
|
||||
steps.emplace_back(posSupportMaterial);
|
||||
@ -750,7 +749,8 @@ namespace Slic3r {
|
||||
steps.emplace_back(posSupportMaterial);
|
||||
} else if (opt_key == "bottom_solid_layers") {
|
||||
steps.emplace_back(posPrepareInfill);
|
||||
if (m_print->config().spiral_vase) {
|
||||
if (m_print->config().spiral_vase
|
||||
|| opt_key == "z_step") {
|
||||
// Changing the number of bottom layers when a spiral vase is enabled requires re-slicing the object again.
|
||||
// Otherwise, holes in the bottom layers could be filled, as is reported in GH #5528.
|
||||
steps.emplace_back(posSlice);
|
||||
|
Loading…
x
Reference in New Issue
Block a user