diff options
author | Vojtech Bubnik <bubnikv@gmail.com> | 2020-12-04 15:05:25 +0300 |
---|---|---|
committer | Vojtech Bubnik <bubnikv@gmail.com> | 2020-12-04 15:05:25 +0300 |
commit | 4f4d136f1948447d410d7022647bd80b807c602f (patch) | |
tree | 33c3a24827d2810d2bd1a9205e7ee51eeab0c18d /src/slic3r/GUI/PresetHints.cpp | |
parent | 7a54c4fdfe5114df4afc396d2cc3a599bc4bcbab (diff) |
Fix of cooling preset hints
Diffstat (limited to 'src/slic3r/GUI/PresetHints.cpp')
-rw-r--r-- | src/slic3r/GUI/PresetHints.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/PresetHints.cpp b/src/slic3r/GUI/PresetHints.cpp index 9f40ffe5b..51ef0e3d4 100644 --- a/src/slic3r/GUI/PresetHints.cpp +++ b/src/slic3r/GUI/PresetHints.cpp @@ -44,7 +44,7 @@ std::string PresetHints::cooling_description(const Preset &preset) int disable_fan_first_layers = preset.config.opt_int("disable_fan_first_layers", 0); int min_fan_speed = preset.config.opt_int("min_fan_speed", 0); - if (full_fan_speed_layer > fan_below_layer_time + 1) + if (full_fan_speed_layer > disable_fan_first_layers + 1) out += GUI::format(_L("Fan speed will be ramped from zero at layer %1% to %2%%% at layer %3%."), disable_fan_first_layers, min_fan_speed, full_fan_speed_layer); else { out += GUI::format(cooling ? _L("During the other layers, fan will always run at %1%%%") : _L("Fan will always run at %1%%%"), min_fan_speed) + " "; |