Commit 3cdaa16a authored by petter's avatar petter

... except for OCR purposes!

git-svn-id: https://www2.in.tum.de/repos/ttt/trunk@149 0463f305-d864-43cb-8a47-61cf597d4139
parent 2ae05fcb
......@@ -784,6 +784,7 @@ public class Index {
// set time of index
IndexEntry indexEntry = index.get(i);
int timestamp = indexEntry.getTimestamp();
if ((mode & ScriptCreator.OCR_OPTIMIZED) == 0)
if (i+1<index.size()){
timestamp += (index.get(i+1).getTimestamp()-timestamp)*.95;
}
......
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