mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
make fan percentages a float (#3087)
makes fan percentages an int. Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
@@ -2702,7 +2702,7 @@ def = this->add("filament_loading_speed", coFloats);
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionFloats{ 0., 0. });
|
||||
|
||||
def = this->add("fan_max_speed", coInts);
|
||||
def = this->add("fan_max_speed", coFloats);
|
||||
def->label = L("Fan speed");
|
||||
def->tooltip = L("Part cooling fan speed may be increased when auto cooling is enabled. "
|
||||
"This is the maximum speed limitation of part cooling fan");
|
||||
@@ -2710,7 +2710,7 @@ def = this->add("filament_loading_speed", coFloats);
|
||||
def->min = 0;
|
||||
def->max = 100;
|
||||
def->mode = comSimple;
|
||||
def->set_default_value(new ConfigOptionInts { 100 });
|
||||
def->set_default_value(new ConfigOptionFloats { 100 });
|
||||
|
||||
def = this->add("max_layer_height", coFloats);
|
||||
def->label = L("Max");
|
||||
@@ -2753,14 +2753,14 @@ def = this->add("filament_loading_speed", coFloats);
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionInt(3));
|
||||
|
||||
def = this->add("fan_min_speed", coInts);
|
||||
def = this->add("fan_min_speed", coFloats);
|
||||
def->label = L("Fan speed");
|
||||
def->tooltip = L("Minimum speed for part cooling fan");
|
||||
def->sidetext = L("%");
|
||||
def->min = 0;
|
||||
def->max = 100;
|
||||
def->mode = comSimple;
|
||||
def->set_default_value(new ConfigOptionInts { 20 });
|
||||
def->set_default_value(new ConfigOptionFloats { 20 });
|
||||
|
||||
def = this->add("additional_cooling_fan_speed", coInts);
|
||||
def->label = L("Fan speed");
|
||||
|
||||
Reference in New Issue
Block a user