Skip to content

Commit

Permalink
Merge pull request #1738 from Piezoid/area_deviation_scaling
Browse files Browse the repository at this point in the history
Simplify: fix scaling of maximum area deviation setting
  • Loading branch information
jellespijker authored Nov 15, 2022
2 parents 1363b81 + 6985593 commit 1adf212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/Simplify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Simplify::Simplify(const coord_t max_resolution, const coord_t max_deviation, co
Simplify::Simplify(const Settings& settings)
: max_resolution(settings.get<coord_t>("meshfix_maximum_resolution"))
, max_deviation(settings.get<coord_t>("meshfix_maximum_deviation"))
, max_area_deviation(settings.get<coord_t>("meshfix_maximum_extrusion_area_deviation"))
, max_area_deviation(settings.get<size_t>("meshfix_maximum_extrusion_area_deviation"))
{}

Polygons Simplify::polygon(const Polygons& polygons) const
Expand Down

0 comments on commit 1adf212

Please sign in to comment.