Fix short-song-mode.
This commit is contained in:
1 parent
9676c1056f
commit
70f566682f
2 files changed
+4
-1
No files matched your search
@@ -488,9 +488,11 @@ namespace VocaluxeLib.Songs
|
||||
if (stop < (voice.Lines[series[i].Start].FirstNoteBeat + ((voice.Lines[series[i].End].LastNoteBeat - voice.Lines[series[i].Start].FirstNoteBeat) / 2)))
|
||||
{
|
||||
ShortEnd.EndBeat = voice.Lines[series[i].Start - 1].LastNote.EndBeat;
|
||||
ShortEnd.Source = EDataSource.Calculated;
|
||||
return;
|
||||
}
|
||||
ShortEnd.EndBeat = voice.Lines[series[i].End].LastNote.EndBeat;
|
||||
ShortEnd.Source = EDataSource.Calculated;
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -501,6 +503,7 @@ namespace VocaluxeLib.Songs
|
||||
if (line.FirstNoteBeat < stop && line.LastNoteBeat > stop)
|
||||
{
|
||||
ShortEnd.EndBeat = line.LastNoteBeat;
|
||||
ShortEnd.Source = EDataSource.Calculated;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -309,7 +309,7 @@ namespace VocaluxeLib.Songs
|
||||
_Song.ShortEnd.Source = EDataSource.Tag;
|
||||
}
|
||||
else
|
||||
_LogWarning("Invalid medleyendbeat");
|
||||
_LogWarning("Invalid shortendbeat");
|
||||
}
|
||||
break;
|
||||
case "CALCMEDLEY":
|
||||
|
||||
Reference in new issue
Block a user