Loading include/view/view.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -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 Loading pcbnew/pcbframe.cpp +8 −0 Original line number Original line Diff line number Diff line Loading @@ -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 ); } } Loading Loading
include/view/view.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -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 Loading
pcbnew/pcbframe.cpp +8 −0 Original line number Original line Diff line number Diff line Loading @@ -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 ); } } Loading