Adjust CADSTAR importer for coord system flip.
This commit is contained in:
parent
893d178439
commit
fd44ee6aa6
|
@ -3395,7 +3395,7 @@ VECTOR2I CADSTAR_SCH_ARCHIVE_LOADER::getKiCadLibraryPoint( const VECTOR2I& aCads
|
||||||
VECTOR2I retval;
|
VECTOR2I retval;
|
||||||
|
|
||||||
retval.x = getKiCadLength( aCadstarPoint.x - aCadstarCentre.x );
|
retval.x = getKiCadLength( aCadstarPoint.x - aCadstarCentre.x );
|
||||||
retval.y = getKiCadLength( aCadstarPoint.y - aCadstarCentre.y );
|
retval.y = -getKiCadLength( aCadstarPoint.y - aCadstarCentre.y );
|
||||||
|
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue