2021-07-06 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in rdlibrary(1) that caused the average
	length of audio carts to fail to be updated after moving Start
	and/or End markers in a cut.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-07-06 18:38:46 -04:00
parent fcace16d02
commit 80cf1b47b4
2 changed files with 6 additions and 0 deletions

View File

@ -22011,3 +22011,7 @@
2021-07-06 Fred Gleason <fredg@paravelsystems.com>
* Modified the start buttons in rdcartslots(1) to display channel
labels.
2021-07-06 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdlibrary(1) that caused the average
length of audio carts to fail to be updated after moving Start
and/or End markers in a cut.

View File

@ -763,6 +763,8 @@ void RDMarkerView::save()
for(int i=0;i<RDMarkerHandle::PointerRole::LastRole;i++) {
sql+=d_pointer_fields.at(i)+QString().sprintf("=%d,",d_pointers[i]);
}
sql+=QString().sprintf("`LENGTH`=%d,",d_pointers[RDMarkerHandle::CutEnd]-
d_pointers[RDMarkerHandle::CutStart]);
if(d_no_segue_fade) {
sql+="`SEGUE_GAIN`=0,";
}