Fix of #2878 (endless warning loop in configuration update)

This commit is contained in:
YuSanka 2019-09-16 10:22:26 +02:00
parent 145cf294c9
commit 284355d378
2 changed files with 36 additions and 0 deletions

View file

@ -48,6 +48,11 @@ public:
~ObjectSettings() {}
bool update_settings_list();
/* Additional check for override options: Add options, if its needed.
* Example: if Infill is set to 100%, and Fill Pattern is missed in config_to,
* we should add fill_pattern to avoid endless loop in update
*/
bool add_missed_options(DynamicPrintConfig *config_to, const DynamicPrintConfig &config_from);
void update_config_values(DynamicPrintConfig*config);
void UpdateAndShow(const bool show) override;
void msw_rescale();