Fix warning.

This commit is contained in:
Alex Shvartzkop 2024-03-12 08:54:21 +03:00
parent e4218effbd
commit 44b970c8f2
1 changed files with 2 additions and 2 deletions

View File

@ -248,8 +248,8 @@ int PCBNEW_JOBS_HANDLER::JobExportRender( JOB* aJob )
Pgm().GetSettingsManager().GetAppSettings<EDA_3D_VIEWER_SETTINGS>(); Pgm().GetSettingsManager().GetAppSettings<EDA_3D_VIEWER_SETTINGS>();
if( aRenderJob->m_bgStyle == JOB_PCB_RENDER::BG_STYLE::TRANSPARENT if( aRenderJob->m_bgStyle == JOB_PCB_RENDER::BG_STYLE::TRANSPARENT
|| aRenderJob->m_bgStyle == JOB_PCB_RENDER::BG_STYLE::DEFAULT || ( aRenderJob->m_bgStyle == JOB_PCB_RENDER::BG_STYLE::DEFAULT
&& aRenderJob->m_format == JOB_PCB_RENDER::FORMAT::PNG ) && aRenderJob->m_format == JOB_PCB_RENDER::FORMAT::PNG ) )
{ {
BOARD_ADAPTER::g_DefaultBackgroundTop = COLOR4D( 1.0, 1.0, 1.0, 0.0 ); BOARD_ADAPTER::g_DefaultBackgroundTop = COLOR4D( 1.0, 1.0, 1.0, 0.0 );
BOARD_ADAPTER::g_DefaultBackgroundBot = COLOR4D( 1.0, 1.0, 1.0, 0.0 ); BOARD_ADAPTER::g_DefaultBackgroundBot = COLOR4D( 1.0, 1.0, 1.0, 0.0 );