FIX: error circle compensation for hole
jira: none Change-Id: Icd6549e745f29d93e7f0a87984136de16f575182
This commit is contained in:
parent
8a6b9851db
commit
1ae969d08f
|
@ -1221,7 +1221,7 @@ void PerimeterGenerator::process_classic()
|
|||
|
||||
bool counter_circle_compensation = surface.counter_circle_compensation;
|
||||
std::vector<Point> compensation_holes_centers;
|
||||
for (size_t i = 0; i < surface.holes_circle_compensation.size(); ++i) {
|
||||
for (int i : surface.holes_circle_compensation) {
|
||||
Point center = surface.expolygon.holes[i].centroid();
|
||||
compensation_holes_centers.emplace_back(center);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue