Scaling correction parameters in material and print conf.

Scaling is applied in sla_trafo but no effect unless set before model import.
This commit is contained in:
tamasmeszaros 2019-04-03 17:34:46 +02:00
parent 703b9bda32
commit c6b5fe05e4
5 changed files with 38 additions and 26 deletions

View file

@ -3233,7 +3233,7 @@ void TabSLAMaterial::build()
optgroup = page->new_optgroup(_(L("Corrections")));
optgroup->label_width = 19 * m_em_unit;//190;
std::vector<std::string> corrections = { "material_correction_printing", "material_correction_curing" };
std::vector<std::string> corrections = {"material_correction"};
std::vector<std::string> axes{ "X", "Y", "Z" };
for (auto& opt_key : corrections) {
auto line = Line{ m_config->def()->get(opt_key)->full_label, "" };