Fixed a bug in the update of the backend when the Spiral Vase option

is enabled / disabled.

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.

This commit moves the update to the correct location.
This commit is contained in:
bubnikv 2020-02-09 13:56:42 +01:00
parent 9ae0311434
commit 5eb1e7e886
2 changed files with 6 additions and 4 deletions

View file

@ -463,8 +463,7 @@ bool PrintObject::invalidate_state_by_config_options(const std::vector<t_config_
opt_key == "layer_height"
|| opt_key == "first_layer_height"
|| opt_key == "raft_layers"
|| opt_key == "slice_closing_radius"
|| opt_key == "spiral_vase") {
|| opt_key == "slice_closing_radius") {
steps.emplace_back(posSlice);
} else if (
opt_key == "clip_multipart_objects"