SLA: Invalidate all PrintObjects if the scaling correction changes.

Fixes a bug, where the sla_transofmation() function works with
the new scaling values for both old and new ModelObjects, therefore
no reslicing is triggered.
(untested)
This commit is contained in:
bubnikv 2019-04-05 11:56:11 +02:00
parent f0d106e5f0
commit f554d02665
2 changed files with 8 additions and 6 deletions

View file

@ -459,7 +459,7 @@ private:
bool invalidate_step(SLAPrintStep st);
// Invalidate steps based on a set of parameters changed.
bool invalidate_state_by_config_options(const std::vector<t_config_option_key> &opt_keys);
bool invalidate_state_by_config_options(const std::vector<t_config_option_key> &opt_keys, bool &invalidate_all_model_objects);
SLAPrintConfig m_print_config;
SLAPrinterConfig m_printer_config;