mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 18:27:58 -06:00
change print flow ratio to float.
Also fixed an issue that maximum volumetric speed is not respected #93 #103
This commit is contained in:
parent
6d99cfbaa2
commit
60acc6b4e8
4 changed files with 11 additions and 10 deletions
|
@ -8014,7 +8014,7 @@ void Plater::calib_flowrate(int pass) {
|
|||
if (obj_name[0] == 'm')
|
||||
obj_name[0] = '-';
|
||||
auto modifier = stof(obj_name);
|
||||
_obj->config.set_key_value("print_flow_ratio", new ConfigOptionPercent(100 + modifier));
|
||||
_obj->config.set_key_value("print_flow_ratio", new ConfigOptionFloat(1.0f + modifier/100.f));
|
||||
}
|
||||
|
||||
print_config->set_key_value("layer_height", new ConfigOptionFloat(layer_height));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue