Skip to content

Commit

Permalink
plane update: correctly handle blind vias
Browse files Browse the repository at this point in the history
looking at the junction's layer range is sufficient
considering the has_via member was only required and correct when there
were just through vias

changelog: Bugfixes/Board Editor: correctly handle unconnected fragments below blind/buried vias

closes #773
  • Loading branch information
carrotIndustries committed May 10, 2024
1 parent 1e78faa commit e58fcdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/board/plane_update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ void Board::update_plane(Plane *plane, const CanvasPatch *ca_ext, const CanvasPa
if (cancel)
return;
for (const auto &it : junctions) {
if (it.second.net == plane->net && (it.second.layer.overlaps(plane->polygon->layer) || it.second.has_via)
if (it.second.net == plane->net && it.second.layer.overlaps(plane->polygon->layer)
&& frag.contains(it.second.position)) {
frag.orphan = false;
break;
Expand Down

0 comments on commit e58fcdf

Please sign in to comment.