Commit 3628d386 authored by oscar's avatar oscar

fix only one frame can not delete bug

parent c151d5de
......@@ -132,7 +132,7 @@ float BaseTrack::GetProb() const
bool BaseTrack::IsLost()
{
if(m_state == 0 && coast_cycles_ > 0)
return false;
return true;
return coast_cycles_ > m_kMaxCoastCycles;
}
bool BaseTrack::IsValid()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment