mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 02:07:54 -06:00
Fixed few warnings
This commit is contained in:
parent
3e855d36dc
commit
32a353058f
11 changed files with 44 additions and 58 deletions
|
@ -296,9 +296,8 @@ std::string PresetHints::top_bottom_shell_thickness_explanation(const PresetBund
|
|||
double bottom_solid_min_thickness = print_config.opt_float("bottom_solid_min_thickness");
|
||||
double layer_height = print_config.opt_float("layer_height");
|
||||
bool variable_layer_height = printer_config.opt_bool("variable_layer_height");
|
||||
//FIXME the following lines take into account the 1st extruder only.
|
||||
//FIXME the following line takes into account the 1st extruder only.
|
||||
double min_layer_height = variable_layer_height ? Slicing::min_layer_height_from_nozzle(printer_config, 1) : layer_height;
|
||||
double max_layer_height = variable_layer_height ? Slicing::max_layer_height_from_nozzle(printer_config, 1) : layer_height;
|
||||
|
||||
if (layer_height <= 0.f) {
|
||||
out += _utf8(L("Top / bottom shell thickness hint: Not available due to invalid layer height."));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue