Cleanup includes and formatting.
This commit is contained in:
parent
488cfb9ec7
commit
618e824b0f
|
@ -31,7 +31,6 @@
|
|||
#include <validators.h>
|
||||
#include <class_library.h>
|
||||
#include <template_fieldnames.h>
|
||||
#include <widgets/grid_icon_text_helpers.h>
|
||||
#include <widgets/grid_text_button_helpers.h>
|
||||
#include <wildcards_and_files_ext.h>
|
||||
#include <project/project_file.h>
|
||||
|
|
|
@ -774,8 +774,10 @@ void PCB_BASE_FRAME::SetDisplayOptions( const PCB_DISPLAY_OPTIONS& aOptions )
|
|||
[]( KIGFX::VIEW_ITEM* aItem ) -> bool
|
||||
{
|
||||
if( VIA* via = dynamic_cast<VIA*>( aItem ) )
|
||||
return ( via->GetViaType() == VIATYPE::BLIND_BURIED ||
|
||||
via->GetViaType() == VIATYPE::MICROVIA );
|
||||
{
|
||||
return via->GetViaType() == VIATYPE::BLIND_BURIED
|
||||
|| via->GetViaType() == VIATYPE::MICROVIA;
|
||||
}
|
||||
|
||||
return false;
|
||||
} );
|
||||
|
|
|
@ -177,7 +177,8 @@ void PCB_RENDER_SETTINGS::LoadDisplayOptions( const PCB_DISPLAY_OPTIONS& aOption
|
|||
// Clearance settings
|
||||
switch( aOptions.m_ShowTrackClearanceMode )
|
||||
{
|
||||
case PCB_DISPLAY_OPTIONS::DO_NOT_SHOW_CLEARANCE: m_clearanceDisplayFlags = CL_NONE;
|
||||
case PCB_DISPLAY_OPTIONS::DO_NOT_SHOW_CLEARANCE:
|
||||
m_clearanceDisplayFlags = CL_NONE;
|
||||
break;
|
||||
|
||||
case PCB_DISPLAY_OPTIONS::SHOW_CLEARANCE_NEW_TRACKS:
|
||||
|
|
Loading…
Reference in New Issue