Fix #7004: Mark linkgraph dirty to be rebuilt on next draw call. (#7265)

Previously the linkgraph was rebuilt before the viewport extents were finalized.
This commit is contained in:
2019-02-23 19:19:41 +00:00
committed by GitHub
parent f240f61fb2
commit 87ebfe1227
5 changed files with 17 additions and 9 deletions

View File

@@ -267,7 +267,7 @@ struct MainWindow : Window
return;
}
this->viewport->overlay->RebuildCache();
this->viewport->overlay->SetDirty();
this->GetWidget<NWidgetBase>(WID_M_VIEWPORT)->SetDirty(this);
}