Skip to content

Commit

Permalink
Fixed dropping down of non-gracious support areas
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasRahm committed Apr 6, 2022
1 parent 8a75061 commit 346128e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/TreeSupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2215,7 +2215,7 @@ void TreeSupport::smoothBranchAreas(std::vector<std::unordered_map<SupportElemen
}


void TreeSupport::dropNonGraciousAreas(std::vector<std::unordered_map<SupportElement*, Polygons>>& layer_tree_polygons, const std::vector<std::pair<LayerIndex, SupportElement*>>& linear_data, std::vector<std::vector<std::pair<LayerIndex, Polygons>>> dropped_down_areas, const std::map<SupportElement*, SupportElement*>& inverese_tree_order)
void TreeSupport::dropNonGraciousAreas(std::vector<std::unordered_map<SupportElement*, Polygons>>& layer_tree_polygons, const std::vector<std::pair<LayerIndex, SupportElement*>>& linear_data, std::vector<std::vector<std::pair<LayerIndex, Polygons>>>& dropped_down_areas, const std::map<SupportElement*, SupportElement*>& inverese_tree_order)
{
#pragma omp parallel for schedule(static, 1)
for (coord_t idx = 0; idx < coord_t(linear_data.size()); idx++)
Expand Down
2 changes: 1 addition & 1 deletion src/TreeSupport.h
Original file line number Diff line number Diff line change
Expand Up @@ -1297,7 +1297,7 @@ class TreeSupport
* \param dropped_down_areas[out] Areas that have to be added to support all non-gracefull areas.
* \param inverese_tree_order[in] A mapping that returns the child of every influence area.
*/
void dropNonGraciousAreas(std::vector<std::unordered_map<SupportElement*, Polygons>>& layer_tree_polygons, const std::vector<std::pair<LayerIndex, SupportElement*>>& linear_data, std::vector<std::vector<std::pair<LayerIndex, Polygons>>> dropped_down_areas, const std::map<SupportElement*, SupportElement*>& inverese_tree_order);
void dropNonGraciousAreas(std::vector<std::unordered_map<SupportElement*, Polygons>>& layer_tree_polygons, const std::vector<std::pair<LayerIndex, SupportElement*>>& linear_data, std::vector<std::vector<std::pair<LayerIndex, Polygons>>>& dropped_down_areas, const std::map<SupportElement*, SupportElement*>& inverese_tree_order);


/*!
Expand Down

0 comments on commit 346128e

Please sign in to comment.