Draw overlay layer regardless of radar product view, general layer organization

This commit is contained in:
Dan Paulat 2022-03-01 22:50:21 -06:00
parent 410eb85d3f
commit b9c4b9e9c7
2 changed files with 48 additions and 46 deletions

View file

@ -103,7 +103,7 @@ void OverlayLayer::Render(const QMapbox::CustomLayerRenderParameters& params)
gl::OpenGLFunctions& gl = context()->gl_;
if (p->sweepTimeNeedsUpdate_)
if (p->sweepTimeNeedsUpdate_ && context()->radarProductView_ != nullptr)
{
using namespace std::chrono;
auto sweepTime =