Eeschema: fix wxassert failure on schematic plot with ERC markers
This commit is contained in:
parent
00cf800ce8
commit
093232103f
|
@ -70,6 +70,14 @@ public:
|
||||||
void Draw( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
|
void Draw( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
|
||||||
GR_DRAWMODE aDraw_mode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR );
|
GR_DRAWMODE aDraw_mode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR );
|
||||||
|
|
||||||
|
void Plot( PLOTTER* aPlotter )
|
||||||
|
{
|
||||||
|
// SCH_MARKERs should not be plotted. However, SCH_ITEM will fail an
|
||||||
|
// assertion if we do not confirm this by locally implementing a no-op
|
||||||
|
// Plot().
|
||||||
|
(void) aPlotter;
|
||||||
|
}
|
||||||
|
|
||||||
bool Save( FILE* aFile ) const;
|
bool Save( FILE* aFile ) const;
|
||||||
|
|
||||||
EDA_RECT const GetBoundingBox() const; // Virtual
|
EDA_RECT const GetBoundingBox() const; // Virtual
|
||||||
|
|
Loading…
Reference in New Issue