Remove empty lines from Songs (causes problems otherwise!)
Compatibility reading mode for songs with 0-based lengths Give Lines as an enumerable instead of creating an array
This commit is contained in:
1 parent
a9b3e1d3f8
commit
d498e0b935
6 files changed
+125
-25
No files matched your search
@@ -270,5 +270,10 @@ namespace VocaluxeLib.Songs
|
||||
line.SetMedley(startBeat, endBeat);
|
||||
}
|
||||
#endregion Methods
|
||||
|
||||
public int RemoveEmptyLines()
|
||||
{
|
||||
return _Lines.RemoveAll(line => line.NoteCount == 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user