Commit 952f9f9b authored by jean-pierre charras's avatar jean-pierre charras

Fix bug in LIB_COMPONENT::LocateDrawItem() that destroys DefaultTransform matrix.

parent b700f7c2
......@@ -1362,6 +1362,7 @@ LIB_DRAW_ITEM* LIB_COMPONENT::LocateDrawItem( int aUnit, int aConvert, KICAD_T a
*/
LIB_DRAW_ITEM* item;
TRANSFORM transform = DefaultTransform;
DefaultTransform = aTransform;
item = LocateDrawItem( aUnit, aConvert, aType, aPoint );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment