Fixed top layer pads netnames issue.
This commit is contained in:
parent
be012cac94
commit
bd182aad9f
|
@ -360,7 +360,7 @@ public:
|
|||
*/
|
||||
bool IsDynamic() const { return m_dynamic; }
|
||||
|
||||
static const int VIEW_MAX_LAYERS = 64; ///* maximum number of layers that may be shown
|
||||
static const int VIEW_MAX_LAYERS = 128; ///* maximum number of layers that may be shown
|
||||
|
||||
private:
|
||||
struct VIEW_LAYER
|
||||
|
|
|
@ -824,6 +824,14 @@ void PCB_EDIT_FRAME::syncLayerVisibilities()
|
|||
{
|
||||
view->SetLayerVisible( ITEM_GAL_LAYER( i ), m_Pcb->IsElementVisible( i ) );
|
||||
}
|
||||
|
||||
// Enable some layers that are GAL specific
|
||||
for( LAYER_NUM i = FIRST_NETNAME_LAYER; i < LAST_NETNAME_LAYER; ++i )
|
||||
{
|
||||
view->SetLayerVisible( i, true );
|
||||
}
|
||||
view->SetLayerVisible( ITEM_GAL_LAYER( PADS_HOLES_VISIBLE ), true );
|
||||
view->SetLayerVisible( ITEM_GAL_LAYER( VIAS_HOLES_VISIBLE ), true );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue