FIX: crash when use manual flow rate

fix the PA tower is effect

Change-Id: Idc00090c75023d62beca2a32529a6749081de9ef
This commit is contained in:
zhimin.zeng 2023-08-10 17:50:28 +08:00 committed by Lane.Wei
parent fdbe35b619
commit d5120f890e
3 changed files with 6 additions and 3 deletions

View file

@ -8446,7 +8446,7 @@ void Plater::calib_flowrate(int pass)
for (auto _obj : model().objects) {
_obj->ensure_on_bed();
_obj->config.set_key_value("wall_loops", new ConfigOptionInt(3));
_obj->config.set_key_value("only_one_wall_top", new ConfigOptionBool(true));
_obj->config.set_key_value("top_one_wall_type", new ConfigOptionEnum<TopOneWallType>(TopOneWallType::Topmost));
_obj->config.set_key_value("sparse_infill_density", new ConfigOptionPercent(35));
_obj->config.set_key_value("bottom_shell_layers", new ConfigOptionInt(1));
_obj->config.set_key_value("top_shell_layers", new ConfigOptionInt(5));