Add missing if intending to border check

This commit is contained in:
Marek Roszko 2023-08-30 22:51:08 -04:00
parent ffbe0f36da
commit 60af0448c5
1 changed files with 2 additions and 1 deletions

View File

@ -923,7 +923,8 @@ void BOARD_ADAPTER::createLayers( REPORTER* aStatusReporter )
case PCB_TEXTBOX_T: case PCB_TEXTBOX_T:
addText( static_cast<PCB_TEXTBOX*>( item ), layerContainer, item ); addText( static_cast<PCB_TEXTBOX*>( item ), layerContainer, item );
addShape( static_cast<PCB_TEXTBOX*>( item ), layerContainer, item ); if( static_cast<PCB_TEXTBOX*>( item )->IsBorderEnabled() )
addShape( static_cast<PCB_TEXTBOX*>( item ), layerContainer, item );
break; break;
case PCB_DIM_ALIGNED_T: case PCB_DIM_ALIGNED_T: