2017-03-15 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in 'lib/rdlog_event.cpp' that caused errors in
	predicted event start times in RDLogEdit(1).
This commit is contained in:
Fred Gleason
2017-03-15 18:25:38 -04:00
parent 790be71d44
commit 56f321976a
10 changed files with 24 additions and 9 deletions

View File

@@ -15633,3 +15633,6 @@
predicted event start times in logs containing voice tracks.
2017-03-15 Fred Gleason <fredg@paravelsystems.com>
* Incremented the package version to 2.15.2int05.
2017-03-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdlog_event.cpp' that caused errors in
predicted event start times in RDLogEdit(1).

View File

@@ -615,8 +615,20 @@ QTime RDLogEvent::blockStartTime(int line)
//
for(int i=start_line;i<line;i++) {
if((i<(size()+1))&&((logLine(i+1)->transType()==RDLogLine::Segue))) {
if(logLine(i)->segueStartPoint(RDLogLine::LogPointer)<0) {
actual_length+=100*(logLine(i)->averageSegueLength()/100);
}
else {
if(logLine(i)->startPoint(RDLogLine::LogPointer)<0) {
actual_length+=(logLine(i)->segueStartPoint(RDLogLine::LogPointer)-
logLine(i)->startPoint(RDLogLine::CartPointer));
}
else {
actual_length+=(logLine(i)->segueStartPoint(RDLogLine::LogPointer)-
logLine(i)->startPoint(RDLogLine::LogPointer));
}
}
}
else {
actual_length+=100*(logLine(i)->forcedLength()/100);
}

View File

@@ -351,7 +351,7 @@ zápis</translation>
</message>
<message>
<source>T</source>
<translation>T</translation>
<translation type="unfinished">T</translation>
</message>
<message>
<source>Pause</source>

View File

@@ -351,7 +351,7 @@ auswählen</translation>
</message>
<message>
<source>T</source>
<translation>T</translation>
<translation type="unfinished">T</translation>
</message>
<message>
<source>Pause</source>

View File

@@ -321,7 +321,7 @@ Lista</translation>
</message>
<message>
<source>T</source>
<translation>T</translation>
<translation type="unfinished">T</translation>
</message>
<message>
<source>[NO AUDIO AVAILABLE]</source>

View File

@@ -351,7 +351,7 @@ un Log</translation>
</message>
<message>
<source>T</source>
<translation>T</translation>
<translation type="unfinished">T</translation>
</message>
<message>
<source>Pause</source>

View File

@@ -359,7 +359,7 @@ logg</translation>
</message>
<message>
<source>T</source>
<translation>S</translation>
<translation type="unfinished">S</translation>
</message>
<message>
<source>Pause</source>

View File

@@ -359,7 +359,7 @@ logg</translation>
</message>
<message>
<source>T</source>
<translation>S</translation>
<translation type="unfinished">S</translation>
</message>
<message>
<source>Pause</source>

View File

@@ -384,7 +384,7 @@ Log</source>
</message>
<message>
<source>T</source>
<translation>T</translation>
<translation type="unfinished">T</translation>
</message>
<message>
<source>Pause</source>