diff --git a/server/TracyTimelineItemPlot.cpp b/server/TracyTimelineItemPlot.cpp index 7e6a4bee..42f763be 100644 --- a/server/TracyTimelineItemPlot.cpp +++ b/server/TracyTimelineItemPlot.cpp @@ -125,6 +125,7 @@ void TimelineItemPlot::Preprocess( const TimelineContext& ctx, TaskDispatch& td, if( !visible ) return; if( yPos > ctx.yMax ) return; + if( m_plot->data.empty() ) return; const auto PlotHeight = int( round( PlotHeightPx * GetScale() ) ); if( yPos + PlotHeight < ctx.yMin ) return;