Skip to content
Snippets Groups Projects
Commit 84edee1c authored by even's avatar even
Browse files

Code: useless detection restart count in fast track

parent 4c5d8a99
No related branches found
No related tags found
No related merge requests found
...@@ -118,8 +118,6 @@ BlurredSegment *BSTracker::fastTrack (int bsMaxWidth, ...@@ -118,8 +118,6 @@ BlurredSegment *BSTracker::fastTrack (int bsMaxWidth,
// Extends the segment // Extends the segment
int lstop = 0; int lstop = 0;
int rstop = 0; int rstop = 0;
int lstart = 0;
int rstart = 0;
bool added = false; bool added = false;
bool scanningRight = true; bool scanningRight = true;
bool scanningLeft = true; bool scanningLeft = true;
...@@ -186,8 +184,6 @@ BlurredSegment *BSTracker::fastTrack (int bsMaxWidth, ...@@ -186,8 +184,6 @@ BlurredSegment *BSTracker::fastTrack (int bsMaxWidth,
} }
} }
} }
if (rstart) bs.removeRight (rstart);
if (lstart) bs.removeLeft (lstart);
delete ds; delete ds;
return (bs.endOfBirth ()); return (bs.endOfBirth ());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment