pcbnew: fix STEP exporter build errors
Match the three VECTOR2D origin parameters in exporter_step.cpp to their const-reference declarations in exporter_step.h.
This commit is contained in:
@@ -160,7 +160,7 @@ EXPORTER_STEP::~EXPORTER_STEP()
|
||||
}
|
||||
|
||||
|
||||
bool EXPORTER_STEP::buildFootprint3DShapes( FOOTPRINT* aFootprint, VECTOR2D aOrigin,
|
||||
bool EXPORTER_STEP::buildFootprint3DShapes( FOOTPRINT* aFootprint, const VECTOR2D& aOrigin,
|
||||
SHAPE_POLY_SET* aClipPolygon )
|
||||
{
|
||||
bool hasdata = false;
|
||||
@@ -446,7 +446,7 @@ bool EXPORTER_STEP::buildFootprint3DShapes( FOOTPRINT* aFootprint, VECTOR2D aOri
|
||||
}
|
||||
|
||||
|
||||
bool EXPORTER_STEP::buildTrack3DShape( PCB_TRACK* aTrack, VECTOR2D aOrigin )
|
||||
bool EXPORTER_STEP::buildTrack3DShape( PCB_TRACK* aTrack, const VECTOR2D& aOrigin )
|
||||
{
|
||||
bool skipCopper = !m_params.m_ExportTracksVias
|
||||
|| ( !m_params.m_NetFilter.IsEmpty()
|
||||
@@ -581,7 +581,7 @@ void EXPORTER_STEP::buildZones3DShape( VECTOR2D aOrigin, bool aSolderMaskOnly )
|
||||
}
|
||||
|
||||
|
||||
bool EXPORTER_STEP::buildGraphic3DShape( BOARD_ITEM* aItem, VECTOR2D aOrigin )
|
||||
bool EXPORTER_STEP::buildGraphic3DShape( BOARD_ITEM* aItem, const VECTOR2D& aOrigin )
|
||||
{
|
||||
PCB_LAYER_ID pcblayer = aItem->GetLayer();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user