Add hack to Resolve all symbols when painting.
Seems rather expensive, but this is what the Legacy canvas did. In fairness, it does check the last-mod-date of the libraries and skips it if they haven't changed. Fixes: lp:1798446 * https://bugs.launchpad.net/kicad/+bug/1798446
This commit is contained in:
parent
bdc64ff0b3
commit
c06e533689
|
@ -694,6 +694,9 @@ void SCH_DRAW_PANEL::onPaint( wxPaintEvent& aEvent )
|
|||
// (depending on platforms). Do nothing in this case
|
||||
return;
|
||||
|
||||
// Ensure links are up to date, even if a library was reloaded for some reason:
|
||||
static_cast<SCH_SCREEN*>( GetScreen() )->UpdateSymbolLinks();
|
||||
|
||||
if( m_painter )
|
||||
static_cast<KIGFX::SCH_PAINTER*>(m_painter.get())->GetSettings()->ImportLegacyColors( nullptr );
|
||||
|
||||
|
|
Loading…
Reference in New Issue