if(vKeyframeScores.size()>0)
{
double bestSortIndex = vKeyframeScores[0].second;
//int k_itr = 1;
//while( bestSortIndex < vKeyframeScores.size())
//{
// bestSortIndex = vKeyframeScores[k_itr].second;
// k_itr++;
//} //todo (adas) get rid of this, turn into circular buffer, this is a hack!
Tracker.cpp:
commented lines are deleted: