Request redraw of 3D-Viewer when a selection from Schematic is made

This commit is contained in:
Mario Luzeiro 2020-09-02 18:16:36 +01:00 committed by Jon Evans
parent a1e94c2583
commit 5a362dfeeb
1 changed files with 9 additions and 0 deletions

View File

@ -490,6 +490,15 @@ int PCB_INSPECTION_TOOL::HighlightItem( const TOOL_EVENT& aEvent )
} }
m_probingSchToPcb = false; m_probingSchToPcb = false;
bool request3DviewRedraw = true;
if( item )
if( item->Type() != PCB_MODULE_T )
request3DviewRedraw = false;
if( request3DviewRedraw )
m_frame->Redraw3Dview();
return 0; return 0;
} }