Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsupermerill <merill@free.fr>2022-03-26 20:18:36 +0300
committersupermerill <merill@free.fr>2022-03-27 23:37:47 +0300
commit67fb7c06eb7b8c984f391dc2af52d88889c2cd28 (patch)
tree273a5ddb6b1052b299215f573bd12387d939db1f /src/libslic3r/PrintConfig.cpp
parentad9c852bde809a473e49fbfea6710b3aa11d2a1a (diff)
change min layer times from int to float
supermerill/SuperSlicer#2574
Diffstat (limited to 'src/libslic3r/PrintConfig.cpp')
-rw-r--r--src/libslic3r/PrintConfig.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp
index 18c913ae5..652b683a9 100644
--- a/src/libslic3r/PrintConfig.cpp
+++ b/src/libslic3r/PrintConfig.cpp
@@ -1714,7 +1714,7 @@ void PrintConfigDef::init_fff_params()
def->is_vector_extruder = true;
def->set_default_value(new ConfigOptionBools{ true });
- def = this->add("fan_below_layer_time", coInts);
+ def = this->add("fan_below_layer_time", coFloats);
def->label = L("Enable fan if layer print time is below");
def->category = OptionCategory::cooling;
def->tooltip = L("If layer print time is estimated below this number of seconds, fan will be enabled "
@@ -1725,7 +1725,7 @@ void PrintConfigDef::init_fff_params()
def->max = 1000;
def->mode = comExpert | comPrusa;
def->is_vector_extruder = true;
- def->set_default_value(new ConfigOptionInts { 60 });
+ def->set_default_value(new ConfigOptionFloats { 60 });
def = this->add("filament_colour", coStrings);
def->label = L("Color");
@@ -4370,7 +4370,7 @@ void PrintConfigDef::init_fff_params()
def->mode = comAdvancedE | comPrusa;
def->set_default_value(new ConfigOptionEnum<SlicingMode>(SlicingMode::Regular));
- def = this->add("slowdown_below_layer_time", coInts);
+ def = this->add("slowdown_below_layer_time", coFloats);
def->label = L("Slow down if layer print time is below");
def->category = OptionCategory::cooling;
def->tooltip = L("If layer print time is estimated below this number of seconds, print moves "
@@ -4381,7 +4381,7 @@ void PrintConfigDef::init_fff_params()
def->max = 1000;
def->mode = comExpert | comPrusa;
def->is_vector_extruder = true;
- def->set_default_value(new ConfigOptionInts{ 5 });
+ def->set_default_value(new ConfigOptionFloats{ 5 });
def = this->add("small_perimeter_speed", coFloatOrPercent);
def->label = L("Speed");