Plot can be empty if it was only configured.

This commit is contained in:
Bartosz Taudul 2019-11-06 12:08:20 +01:00
parent d4f58ddaf3
commit d741fb0af9

View File

@ -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;