From d741fb0af910ad5fe2c8199380361b6696819cd5 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 6 Nov 2019 12:08:20 +0100 Subject: [PATCH] Plot can be empty if it was only configured. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index c89bc646..c2f7f864 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -4785,7 +4785,7 @@ int View::DrawPlots( int offset, double pxns, const ImVec2& wpos, bool hover, fl vis.offset = 0; continue; } - assert( !v->data.empty() ); + if( v->data.empty() ) continue; bool& showFull = vis.showFull; float txtx = 0;