mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-01 14:43:50 +01:00
2017-03-06 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug that introduced round-off errors when calculating event start times in RDLogEdit(1) in 'lib/rdlog_event.cpp'.
This commit is contained in:
@@ -15623,3 +15623,6 @@
|
||||
* Added a 'songId' field to the cart metadata XML.
|
||||
2017-03-01 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Incremented the package version to 2.15.2int03.
|
||||
2017-03-06 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug that introduced round-off errors when calculating
|
||||
event start times in RDLogEdit(1) in 'lib/rdlog_event.cpp'.
|
||||
|
||||
@@ -615,10 +615,10 @@ QTime RDLogEvent::blockStartTime(int line)
|
||||
//
|
||||
for(int i=start_line;i<line;i++) {
|
||||
if((i<(size()+1))&&((logLine(i+1)->transType()==RDLogLine::Segue))) {
|
||||
actual_length+=logLine(i)->averageSegueLength();
|
||||
actual_length+=100*(logLine(i)->averageSegueLength()/100);
|
||||
}
|
||||
else {
|
||||
actual_length+=logLine(i)->forcedLength();
|
||||
actual_length+=100*(logLine(i)->forcedLength()/100);
|
||||
}
|
||||
}
|
||||
return_time=start_time.addMSecs(actual_length);
|
||||
|
||||
Reference in New Issue
Block a user