diff --git a/src/libslic3r/MultiMaterialSegmentation.cpp b/src/libslic3r/MultiMaterialSegmentation.cpp index b913e17242..31dc5bd110 100644 --- a/src/libslic3r/MultiMaterialSegmentation.cpp +++ b/src/libslic3r/MultiMaterialSegmentation.cpp @@ -1854,7 +1854,7 @@ std::vector> multi_material_segmentation_by_painting(con const float interlocking_depth = float(print_object.config().mmu_segmented_region_interlocking_depth.value); const auto extract_facets_info = [](const ModelVolume &mv) -> ModelVolumeFacetsInfo { - return {mv.mm_segmentation_facets, mv.is_mm_painted(), true}; + return {mv.mm_segmentation_facets, mv.is_mm_painted(), false}; }; return segmentation_by_painting(print_object, extract_facets_info, num_facets_states, max_width, interlocking_depth, IncludeTopAndBottomLayers::Yes, throw_on_cancel_callback); diff --git a/src/libslic3r/PrintApply.cpp b/src/libslic3r/PrintApply.cpp index 7f2dc492c4..32992bea1b 100644 --- a/src/libslic3r/PrintApply.cpp +++ b/src/libslic3r/PrintApply.cpp @@ -1470,7 +1470,7 @@ Print::ApplyStatus Print::apply(const Model &model, DynamicPrintConfig new_full_ for (size_t state_idx = 1; state_idx < std::min(volume_used_facet_states.size(), used_facet_states.size()); ++state_idx) { used_facet_states[state_idx] |= volume_used_facet_states[state_idx]; } - +#if 0 // When the default facet state (TriangleStateType::NONE) is used, then we mark the volume extruder also as the used extruder. const bool used_volume_extruder = !volume_used_facet_states.empty() && volume_used_facet_states[static_cast(TriangleStateType::NONE)]; if (const int volume_extruder_id = volume->extruder_id(); used_volume_extruder && volume_extruder_id >= 0) { @@ -1479,6 +1479,9 @@ Print::ApplyStatus Print::apply(const Model &model, DynamicPrintConfig new_full_ } else if (const int volume_extruder_id = volume->extruder_id(); volume_extruder_id >= 0) { used_facet_states[volume_extruder_id] |= true; } +#else + } +#endif } for (size_t state_idx = static_cast(TriangleStateType::Extruder1); state_idx < used_facet_states.size(); ++state_idx) {