Browse Source

Eeschema: fix wxassert failure on schematic plot with ERC markers

pull/4/head
unknown 11 years ago
committed by jean-pierre charras
parent
commit
093232103f
  1. 8
      eeschema/sch_marker.h

8
eeschema/sch_marker.h

@ -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

Loading…
Cancel
Save