diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index 9a4db03f6..011539aa4 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -3188,7 +3188,7 @@ void PrintConfigDef::init_sla_params() def = this->add("relative_correction_y", coFloat); def->label = L("Printer scaling correction in Y axis"); - def->full_label = L("Printer scaling X axis correction"); + def->full_label = L("Printer scaling Y axis correction"); def->tooltip = L("Printer scaling correction in Y axis"); def->min = 0; def->mode = comExpert; @@ -3196,7 +3196,7 @@ void PrintConfigDef::init_sla_params() def = this->add("relative_correction_z", coFloat); def->label = L("Printer scaling correction in Z axis"); - def->full_label = L("Printer scaling X axis correction"); + def->full_label = L("Printer scaling Z axis correction"); def->tooltip = L("Printer scaling correction in Z axis"); def->min = 0; def->mode = comExpert; diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index 518017db9..d5bb67a75 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -2493,8 +2493,7 @@ void TabPrinter::build_sla() optgroup = page->new_optgroup(L("Corrections")); line = Line{ m_config->def()->get("relative_correction")->full_label, "" }; - std::vector axes{ "X", "Y", "Z" }; - for (auto& axis : axes) { + for (auto& axis : { "X", "Y", "Z" }) { auto opt = optgroup->get_option(std::string("relative_correction_") + char(std::tolower(axis[0]))); opt.opt.label = axis; line.append_option(opt); @@ -2603,7 +2602,7 @@ PageShp TabPrinter::build_kinematics_page() optgroup->append_line(line); } - std::vector axes{ "x", "y", "z", "e" }; + const std::vector axes{ "x", "y", "z", "e" }; optgroup = page->new_optgroup(L("Maximum feedrates")); for (const std::string &axis : axes) { append_option_line(optgroup, "machine_max_feedrate_" + axis); @@ -4217,8 +4216,7 @@ void TabSLAMaterial::build() optgroup = page->new_optgroup(L("Corrections")); auto line = Line{ m_config->def()->get("material_correction")->full_label, "" }; - std::vector axes{ "X", "Y", "Z" }; - for (auto& axis : axes) { + for (auto& axis : { "X", "Y", "Z" }) { auto opt = optgroup->get_option(std::string("material_correction_") + char(std::tolower(axis[0]))); opt.opt.label = axis; line.append_option(opt);