Skip to content

Commit

Permalink
Removed useless dirty fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wawanbreton committed Oct 13, 2023
1 parent 466a1cb commit 9eab6b4
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/raft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,7 @@ coord_t Raft::getFillerLayerHeight()
return normal_layer_height;
}

if (getFillerLayerCount() != 0)
{
return round_divide(getZdiffBetweenRaftAndLayer0(), getFillerLayerCount());
}
else
{
return mesh_group_settings.get<coord_t>("layer_height");
}
return round_divide(getZdiffBetweenRaftAndLayer0(), getFillerLayerCount());
}


Expand Down

0 comments on commit 9eab6b4

Please sign in to comment.