Commit bd182aad authored by Maciej Suminski's avatar Maciej Suminski
Browse files

Fixed top layer pads netnames issue.

parent be012cac
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -360,7 +360,7 @@ public:
     */
     */
    bool IsDynamic() const { return m_dynamic; }
    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:
private:
    struct VIEW_LAYER
    struct VIEW_LAYER
+8 −0
Original line number Original line Diff line number Diff line
@@ -824,6 +824,14 @@ void PCB_EDIT_FRAME::syncLayerVisibilities()
    {
    {
        view->SetLayerVisible( ITEM_GAL_LAYER( i ), m_Pcb->IsElementVisible( i ) );
        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 );
}
}