6f0d963683
About 1/3 of callers to Parent() don't care if they get the immediate parent or not, about 1/3 want only the immediate parent, and about 1/3 want the hole parent's Parent(). I had earlier changed PNS::ITEM::HOLE to override Parent() and return the hole parent's Parent(), but since the callers are pretty evenly split I've reverted that and added BoardItem() for callers who want the eventual BOARD_ITEM (whether a direct parent or a grandparent). (Also removes a dead routine so I didn't have to figure out which of the two it wanted....) |
||
---|---|---|
.. | ||
common | ||
eeschema | ||
gerbview | ||
libs | ||
pcbnew | ||
spice | ||
CMakeLists.txt |