2022-10-20 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdlogmanager(1) that caused the Chain-To event
	to be dropped when linking music events in bypass grid mode.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2022-10-20 13:37:35 -04:00
parent a24ba90897
commit 505360007a
2 changed files with 6 additions and 2 deletions

View File

@ -23540,3 +23540,6 @@
all services, with a 'Has Grid' column.
2022-10-20 Fred Gleason <fredg@paravelsystems.com>
* Documented grid processing bypass in the Operations Guide.
2022-10-20 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlogmanager(1) that caused the Chain-To event
to be dropped when linking music events in bypass grid mode.

View File

@ -2252,9 +2252,10 @@ void RDSvc::ProcessBypassMusicEvents(RDLog *log,RDLogModel *dst_model,
delete q;
}
if((logline!=NULL)&&(logline->type()==RDLogLine::Chain)) {
if((link_logline!=NULL)&&(link_logline->type()==RDLogLine::Chain)) {
printf("Chain to!\n");
dst_model->insert(dst_model->lineCount(),1,true);
*(dst_model->logLine(dst_model->lineCount()-1))=*logline;
*(dst_model->logLine(dst_model->lineCount()-1))=*link_logline;
dst_model->logLine(dst_model->lineCount()-1)->
setId(dst_model->nextId());
}