mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-07 17:32:20 +02: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:
parent
b62c83f6fb
commit
c8ec4248a4
@ -15623,3 +15623,6 @@
|
|||||||
* Added a 'songId' field to the cart metadata XML.
|
* Added a 'songId' field to the cart metadata XML.
|
||||||
2017-03-01 Fred Gleason <fredg@paravelsystems.com>
|
2017-03-01 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Incremented the package version to 2.15.2int03.
|
* 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++) {
|
for(int i=start_line;i<line;i++) {
|
||||||
if((i<(size()+1))&&((logLine(i+1)->transType()==RDLogLine::Segue))) {
|
if((i<(size()+1))&&((logLine(i+1)->transType()==RDLogLine::Segue))) {
|
||||||
actual_length+=logLine(i)->averageSegueLength();
|
actual_length+=100*(logLine(i)->averageSegueLength()/100);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
actual_length+=logLine(i)->forcedLength();
|
actual_length+=100*(logLine(i)->forcedLength()/100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return_time=start_time.addMSecs(actual_length);
|
return_time=start_time.addMSecs(actual_length);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user