We've probably smoked out enough of the GetLayer() issues.
... and GetProperty() can query GetLayer() in user scripts.
This commit is contained in:
parent
160240166c
commit
dbee441328
|
@ -202,8 +202,6 @@ bool PAD::IsFlipped() const
|
|||
|
||||
PCB_LAYER_ID PAD::GetLayer() const
|
||||
{
|
||||
wxFAIL_MSG( wxT( "Pads exist on multiple layers. GetLayer() has no meaning." ) );
|
||||
|
||||
return BOARD_ITEM::GetLayer();
|
||||
}
|
||||
|
||||
|
|
|
@ -221,8 +221,6 @@ VECTOR2I ZONE::GetPosition() const
|
|||
|
||||
PCB_LAYER_ID ZONE::GetLayer() const
|
||||
{
|
||||
wxFAIL_MSG( wxT( "Zones exist on multiple layers. GetLayer() has no meaning." ) );
|
||||
|
||||
return BOARD_ITEM::GetLayer();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue