Commit bd182aad authored by Maciej Suminski's avatar Maciej Suminski

Fixed top layer pads netnames issue.

parent be012cac
...@@ -360,7 +360,7 @@ public: ...@@ -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
......
...@@ -824,6 +824,14 @@ void PCB_EDIT_FRAME::syncLayerVisibilities() ...@@ -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 );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment