Eeschema Eagle Import: Fill rectangles in symbols
This commit is contained in:
parent
bc23c55cec
commit
8f66e73749
|
@ -1332,6 +1332,10 @@ LIB_RECTANGLE* SCH_EAGLE_PLUGIN::loadSymbolRectangle( LIB_PART* aPart, wxXmlNode
|
||||||
rectangle->SetEnd( wxPoint( rect.x2 * EUNIT_TO_MIL, rect.y2 * EUNIT_TO_MIL ) );
|
rectangle->SetEnd( wxPoint( rect.x2 * EUNIT_TO_MIL, rect.y2 * EUNIT_TO_MIL ) );
|
||||||
|
|
||||||
// TODO: Manage rotation
|
// TODO: Manage rotation
|
||||||
|
// Probaly using a transform.
|
||||||
|
|
||||||
|
// Eagle rectangles are filled by definition.
|
||||||
|
rectangle->SetFillMode(FILLED_SHAPE);
|
||||||
|
|
||||||
return rectangle.release();
|
return rectangle.release();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue