Fix orientations of some footprint STEP models.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17631
This commit is contained in:
Alex Shvartzkop 2024-04-28 23:11:16 +03:00
parent b12043a612
commit 7d37cebfdf
1 changed files with 1 additions and 2 deletions

View File

@ -2518,8 +2518,7 @@ TDF_Label STEP_PCB_MODEL::transferModel( Handle( TDocStd_Document )& source,
if( s_labelName.Length() > 0 )
TDataStd_Name::Set( d_shapeLabel, s_labelName );
TDF_Label niulab =
d_assy->AddComponent( component, d_shapeLabel, scaled_shape.Location() );
TDF_Label niulab = d_assy->AddComponent( component, d_shapeLabel, TopLoc_Location() );
// check for per-surface colors
stop.Init( shape, TopAbs_FACE );