Commit 46eabaa4 authored by Maciej Suminski's avatar Maciej Suminski

Fixed 'disappearing via' issue.

parent fb1f4ad8
...@@ -1001,6 +1001,14 @@ void SEGVIA::ViewGetLayers( int aLayers[], int& aCount ) const ...@@ -1001,6 +1001,14 @@ void SEGVIA::ViewGetLayers( int aLayers[], int& aCount ) const
} }
void SEGVIA::ViewGetRequiredLayers( int aLayers[], int& aCount ) const
{
// The only required layer is via itself, holes are optional
aLayers[0] = ITEM_GAL_LAYER( VIAS_VISIBLE );
aCount = 1;
}
// see class_track.h // see class_track.h
void TRACK::GetMsgPanelInfo( std::vector< MSG_PANEL_ITEM >& aList ) void TRACK::GetMsgPanelInfo( std::vector< MSG_PANEL_ITEM >& aList )
{ {
......
...@@ -424,6 +424,9 @@ public: ...@@ -424,6 +424,9 @@ public:
/// @copydoc VIEW_ITEM::ViewGetLayers() /// @copydoc VIEW_ITEM::ViewGetLayers()
virtual void ViewGetLayers( int aLayers[], int& aCount ) const; virtual void ViewGetLayers( int aLayers[], int& aCount ) const;
/// @copydoc VIEW_ITEM::ViewGetRequiredLayers()
virtual void ViewGetRequiredLayers( int aLayers[], int& aCount ) const;
#if defined (DEBUG) #if defined (DEBUG)
virtual void Show( int nestLevel, std::ostream& os ) const { ShowDummy( os ); } // override virtual void Show( int nestLevel, std::ostream& os ) const { ShowDummy( os ); } // override
#endif #endif
......
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