fix_compiler_error no viable overloaded '=' (#314)

This commit is contained in:
Heiko Liebscher 2023-02-16 17:03:41 +01:00 committed by GitHub
parent 2f5bb03023
commit 0e0b8d297e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8129,7 +8129,7 @@ void Plater::calib_max_vol_speed(const Calib_Params& params)
auto max_lh = printer_config->option<ConfigOptionFloats>("max_layer_height");
if (max_lh->values[0] < layer_height)
*max_lh = { layer_height };
max_lh->values[0] = { layer_height };
filament_config->set_key_value("filament_max_volumetric_speed", new ConfigOptionFloats { 200 });
filament_config->set_key_value("slow_down_layer_time", new ConfigOptionFloats { 0.0 });