Fix SCH_BITMAP::ReadImageFile( wxMemoryBuffer& ).

This commit is contained in:
Alex Shvartzkop 2023-09-07 04:48:50 +03:00
parent 69261df022
commit 9457e794fe
1 changed files with 1 additions and 2 deletions

View File

@ -96,8 +96,7 @@ bool SCH_BITMAP::ReadImageFile( wxMemoryBuffer& aBuffer )
{
if( m_bitmapBase->ReadImageFile( aBuffer ) )
{
m_bitmapBase->SetPixelSizeIu( (float) pcbIUScale.MilsToIU( 1000 )
/ m_bitmapBase->GetPPI() );
m_bitmapBase->SetPixelSizeIu( 254000.0 / m_bitmapBase->GetPPI() );
return true;
}