Move line rendering to the proper layer.
This commit is contained in:
parent
c438686deb
commit
7349fe2e72
|
@ -199,6 +199,14 @@ void SCH_LINE::Show( int nestLevel, std::ostream& os ) const
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
void SCH_LINE::ViewGetLayers( int aLayers[], int& aCount ) const
|
||||||
|
{
|
||||||
|
aCount = 2;
|
||||||
|
aLayers[0] = m_Layer;
|
||||||
|
aLayers[1] = LAYER_SELECTION_SHADOWS;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
const EDA_RECT SCH_LINE::GetBoundingBox() const
|
const EDA_RECT SCH_LINE::GetBoundingBox() const
|
||||||
{
|
{
|
||||||
int width = 25;
|
int width = 25;
|
||||||
|
|
|
@ -120,6 +120,8 @@ public:
|
||||||
|
|
||||||
int GetLineSize() const { return m_size; }
|
int GetLineSize() const { return m_size; }
|
||||||
|
|
||||||
|
void ViewGetLayers( int aLayers[], int& aCount ) const override;
|
||||||
|
|
||||||
const EDA_RECT GetBoundingBox() const override;
|
const EDA_RECT GetBoundingBox() const override;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue