mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Remove obsolete check.
This commit is contained in:
parent
ffa8bf4d75
commit
0e05d70691
@ -6519,7 +6519,6 @@ int View::DrawPlots( int offset, double pxns, const ImVec2& wpos, bool hover, fl
|
|||||||
|
|
||||||
for( const auto& v : m_worker.GetPlots() )
|
for( const auto& v : m_worker.GetPlots() )
|
||||||
{
|
{
|
||||||
assert( v->data.is_sorted() );
|
|
||||||
auto& vis = Vis( v );
|
auto& vis = Vis( v );
|
||||||
if( !vis.visible )
|
if( !vis.visible )
|
||||||
{
|
{
|
||||||
@ -6602,7 +6601,7 @@ int View::DrawPlots( int offset, double pxns, const ImVec2& wpos, bool hover, fl
|
|||||||
if( yPos + PlotHeight >= yMin && yPos <= yMax )
|
if( yPos + PlotHeight >= yMin && yPos <= yMax )
|
||||||
{
|
{
|
||||||
auto& vec = v->data;
|
auto& vec = v->data;
|
||||||
if( !vec.is_sorted() ) vec.sort();
|
vec.ensure_sorted();
|
||||||
|
|
||||||
if( v->type == PlotType::Memory )
|
if( v->type == PlotType::Memory )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user