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

This commit is contained in:
jean-pierre charras 2010-12-23 11:53:12 +01:00
parent b700f7c248
commit 952f9f9b7e
1 changed files with 1 additions and 0 deletions

View File

@ -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 );