Skip to content

Commit

Permalink
Applied clang-format.
Browse files Browse the repository at this point in the history
  • Loading branch information
saumyaj3 authored and github-actions[bot] committed Feb 15, 2024
1 parent b343d88 commit db1231e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/TreeSupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@ void TreeSupport::generateSupportAreas(SliceDataStorage& storage)

// ### Precalculate avoidances, collision etc.
const LayerIndex max_required_layer = precalculate(storage, processing.second);
if(max_required_layer < 0)
if (max_required_layer < 0)
{
spdlog::info("Support tree mesh group {} does not have any overhang. Skipping tree support generation for this support tree mesh group.",counter + 1);
continue; //If there is no overhang to support, skip these meshes
spdlog::info("Support tree mesh group {} does not have any overhang. Skipping tree support generation for this support tree mesh group.", counter + 1);
continue; // If there is no overhang to support, skip these meshes
}
const auto t_precalc = std::chrono::high_resolution_clock::now();

Expand Down Expand Up @@ -245,7 +245,7 @@ LayerIndex TreeSupport::precalculate(const SliceDataStorage& storage, std::vecto
}

// ### The actual precalculation happens in TreeModelVolumes.
if(max_layer >= 0)
if (max_layer >= 0)
{
volumes_.precalculate(max_layer);
}
Expand Down

0 comments on commit db1231e

Please sign in to comment.