Eeschema: fix wxassert failure on schematic plot with ERC markers

This commit is contained in:
unknown 2015-05-18 08:23:41 +02:00 committed by jean-pierre charras
parent 00cf800ce8
commit 093232103f
1 changed files with 8 additions and 0 deletions

View File

@ -70,6 +70,14 @@ public:
void Draw( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
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;
EDA_RECT const GetBoundingBox() const; // Virtual