Skip to content

Commit

Permalink
Merge branch '5.5' into CURA_11109_revert-extra-skinwall-bridging
Browse files Browse the repository at this point in the history
  • Loading branch information
casperlamboo authored Oct 3, 2023
2 parents f063b5a + d078480 commit 9b5ee37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/FffGcodeWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1232,9 +1232,10 @@ void FffGcodeWriter::processSkirtBrim(const SliceDataStorage& storage, LayerPlan


// Add the support brim after the skirt_brim to gcode_layer
// Support brim is only added in layer 0
// For support brim we don't care about the order, because support doesn't need to be accurate.
const Settings& mesh_group_settings = Application::getInstance().current_slice->scene.current_mesh_group->settings;
if (extruder_nr == mesh_group_settings.get<ExtruderTrain&>("support_extruder_nr_layer_0").extruder_nr)
if ((layer_nr == 0) && (extruder_nr == mesh_group_settings.get<ExtruderTrain&>("support_extruder_nr_layer_0").extruder_nr))
{
total_line_count += storage.support_brim.size();
Polygons support_brim_lines = storage.support_brim;
Expand Down

0 comments on commit 9b5ee37

Please sign in to comment.