Added new param sla_output_precision in nanometers
Adopted a fast and easy integer to string conversion
This commit is contained in:
parent
72da90d28f
commit
5e97778528
6 changed files with 66 additions and 37 deletions
|
@ -3805,6 +3805,14 @@ void PrintConfigDef::init_sla_params()
|
|||
def->label = L("Format of the output SLA archive");
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionString("SL1"));
|
||||
|
||||
def = this->add("sla_output_precision", coFloat);
|
||||
def->label = L("SLA output precision");
|
||||
def->tooltip = L("Minimum resolution in nanometers");
|
||||
def->sidetext = L("nm");
|
||||
def->min = 1;
|
||||
def->mode = comExpert;
|
||||
def->set_default_value(new ConfigOptionFloat(1000));
|
||||
}
|
||||
|
||||
void PrintConfigDef::handle_legacy(t_config_option_key &opt_key, std::string &value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue