BITMAP_BASE: update original when converting to greyscale
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13487
This commit is contained in:
parent
2654279678
commit
253122dc78
|
@ -393,6 +393,7 @@ void BITMAP_BASE::ConvertToGreyscale()
|
|||
if( m_image )
|
||||
{
|
||||
*m_image = m_image->ConvertToGreyscale();
|
||||
*m_originalImage = m_originalImage->ConvertToGreyscale();
|
||||
rebuildBitmap();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue