mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 21:26:01 +08:00
Fix for #7887 - [UI] Add Settings > Layers and Perimeters - some options have non distinct labels
+ Fixed build warning
This commit is contained in:
parent
a1746e3e66
commit
9ea7427ce7
@ -141,6 +141,8 @@ bool ObjectSettings::update_settings_list()
|
|||||||
{
|
{
|
||||||
Option option = optgroup->get_option(opt);
|
Option option = optgroup->get_option(opt);
|
||||||
option.opt.width = 12;
|
option.opt.width = 12;
|
||||||
|
if (!option.opt.full_label.empty())
|
||||||
|
option.opt.label = option.opt.full_label;
|
||||||
if (is_extruders_cat)
|
if (is_extruders_cat)
|
||||||
option.opt.max = wxGetApp().extruders_edited_cnt();
|
option.opt.max = wxGetApp().extruders_edited_cnt();
|
||||||
optgroup->append_single_option_line(option);
|
optgroup->append_single_option_line(option);
|
||||||
|
@ -2409,7 +2409,7 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
|
|||||||
try {
|
try {
|
||||||
if (type_3mf || type_zip_amf) {
|
if (type_3mf || type_zip_amf) {
|
||||||
DynamicPrintConfig config;
|
DynamicPrintConfig config;
|
||||||
PrinterTechnology loaded_printer_technology;
|
PrinterTechnology loaded_printer_technology {ptFFF};
|
||||||
{
|
{
|
||||||
DynamicPrintConfig config_loaded;
|
DynamicPrintConfig config_loaded;
|
||||||
ConfigSubstitutionContext config_substitutions{ ForwardCompatibilitySubstitutionRule::Enable };
|
ConfigSubstitutionContext config_substitutions{ ForwardCompatibilitySubstitutionRule::Enable };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user