FIX: multi extruder percent param
jira: NONE Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: I98d2f1df419bbf815efa5a2f0f48656a71ef15ab
This commit is contained in:
parent
f122c4f4ef
commit
adf208dbb9
|
@ -668,7 +668,7 @@ double ConfigBase::get_abs_value_at(const t_config_option_key &opt_key, size_t i
|
|||
} else {
|
||||
const ConfigOption *ratio_opt = this->option(opt_def->ratio_over);
|
||||
assert(ratio_opt->type() == coFloats);
|
||||
const ConfigOptionFloats *ratio_values = static_cast<const ConfigOptionFloats *>(raw_opt);
|
||||
const ConfigOptionFloats *ratio_values = static_cast<const ConfigOptionFloats *>(ratio_opt);
|
||||
return static_cast<const ConfigOptionFloatsOrPercents *>(raw_opt)->get_at(index).get_abs_value(ratio_values->get_at(index));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue