Fix issue where secondary rows were not being generated

master
Ashley N. 2023-08-27 14:43:17 -04:00
parent e43c0dd541
commit e01675fcad
1 changed files with 2 additions and 1 deletions

View File

@ -308,7 +308,8 @@ impl EchoFormat for DmfModule {
// Iterate for each row, for each channel // Iterate for each row, for each channel
// Recall items are stored as self.channel_patterns[ channel ][ row_number ] // Recall items are stored as self.channel_patterns[ channel ][ row_number ]
let mut all_events: Vec<EchoEvent> = Vec::new(); let mut all_events: Vec<EchoEvent> = Vec::new();
for row_number in 0..self.rows_per_pattern { let rows_per_pattern: u32 = self.channel_patterns[ 0 ].len() as u32;
for row_number in 0..rows_per_pattern {
let events_this_row: Vec<EchoEvent> = get_events_for_row( let events_this_row: Vec<EchoEvent> = get_events_for_row(
&mut channels, &mut channels,
&self.instruments, &self.instruments,