mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-13 17:53:11 +02:00
Quiet assert.
Fixes KICAD-V9P.
This commit is contained in:
parent
5a70fc0bd5
commit
fa9df08f94
@ -278,16 +278,22 @@ void PCB_MARKER::Flip( const VECTOR2I& aCentre, FLIP_DIRECTION aFlipDirection )
|
||||
|
||||
std::shared_ptr<SHAPE> PCB_MARKER::GetEffectiveShape( PCB_LAYER_ID aLayer, FLASHING aFlash ) const
|
||||
{
|
||||
// Markers do not participate in the board geometry space, and therefore have no
|
||||
// effectiven shape.
|
||||
// Markers do not participate in the board geometry space, and therefore have no effective shape.
|
||||
return std::make_shared<SHAPE_NULL>();
|
||||
}
|
||||
|
||||
|
||||
void PCB_MARKER::TransformShapeToPolygon( SHAPE_POLY_SET& aBuffer, PCB_LAYER_ID aLayer, int aClearance,
|
||||
int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth ) const
|
||||
{
|
||||
// Markers do not participate in the board geometry space, and therefore have no shape.
|
||||
};
|
||||
|
||||
|
||||
wxString PCB_MARKER::GetItemDescription( UNITS_PROVIDER* aUnitsProvider, bool aFull ) const
|
||||
{
|
||||
return wxString::Format( _( "Marker (%s)" ),
|
||||
aFull ? m_rcItem->GetErrorMessage() : m_rcItem->GetErrorText() );
|
||||
return wxString::Format( _( "Marker (%s)" ), aFull ? m_rcItem->GetErrorMessage()
|
||||
: m_rcItem->GetErrorText() );
|
||||
}
|
||||
|
||||
|
||||
|
@ -98,7 +98,11 @@ public:
|
||||
GAL_LAYER_ID GetColorLayer() const;
|
||||
|
||||
std::shared_ptr<SHAPE> GetEffectiveShape( PCB_LAYER_ID aLayer,
|
||||
FLASHING aFlash = FLASHING::DEFAULT ) const override;
|
||||
FLASHING aFlash = FLASHING::DEFAULT ) const override;
|
||||
|
||||
void TransformShapeToPolygon( SHAPE_POLY_SET& aBuffer, PCB_LAYER_ID aLayer, int aClearance,
|
||||
int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth ) const override;
|
||||
|
||||
|
||||
void GetMsgPanelInfo( EDA_DRAW_FRAME* aFrame, std::vector<MSG_PANEL_ITEM>& aList ) override;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user