diff --git a/src/slic3r/GUI/ConfigManipulation.cpp b/src/slic3r/GUI/ConfigManipulation.cpp index a9947da827..21f6ab1b29 100644 --- a/src/slic3r/GUI/ConfigManipulation.cpp +++ b/src/slic3r/GUI/ConfigManipulation.cpp @@ -557,7 +557,7 @@ void ConfigManipulation::toggle_print_fff_options(DynamicPrintConfig *config, co toggle_field(el, have_perimeters); bool have_infill = config->option("sparse_infill_density")->value > 0; - const bool show_infill_filament_override_toggle = have_infill && !bSEMM; + const bool show_infill_filament_override_toggle = !is_global_config && have_infill && !bSEMM; // sparse_infill_filament uses the same logic as in Print::extruders() for (auto el : { "sparse_infill_pattern", "infill_combination", "minimum_sparse_infill_area", "infill_anchor_max","infill_shift_step","sparse_infill_rotate_template","symmetric_infill_y_axis"}) diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index f17827be3f..9267c1ad3e 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -2267,10 +2267,12 @@ void TabPrint::build() optgroup->append_single_option_line("sparse_infill_density", "strength_settings_infill#sparse-infill-density"); optgroup->append_single_option_line("fill_multiline", "strength_settings_infill#fill-multiline"); optgroup->append_single_option_line("sparse_infill_pattern", "strength_settings_infill#sparse-infill-pattern"); - optgroup->append_single_option_line("enable_infill_filament_override"); - optgroup->append_single_option_line("infill_filament_use_base_first_layers"); - optgroup->append_single_option_line("infill_filament_use_base_last_layers"); - optgroup->append_single_option_line("sparse_infill_filament", "multimaterial_settings_filament_for_features#infill"); + if (m_type >= Preset::TYPE_COUNT) { + optgroup->append_single_option_line("enable_infill_filament_override"); + optgroup->append_single_option_line("infill_filament_use_base_first_layers"); + optgroup->append_single_option_line("infill_filament_use_base_last_layers"); + optgroup->append_single_option_line("sparse_infill_filament", "multimaterial_settings_filament_for_features#infill"); + } optgroup->append_single_option_line("infill_direction", "strength_settings_infill#direction"); optgroup->append_single_option_line("sparse_infill_rotate_template", "strength_settings_infill_rotation_template_metalanguage"); optgroup->append_single_option_line("skin_infill_density", "strength_settings_patterns#locked-zag");