Don't generate an existing cover
This commit is contained in:
1 parent
7e104f7167
commit
bbc73b8784
1 file changed
+4
-1
@@ -91,7 +91,10 @@ namespace Vocaluxe.Base
|
||||
|
||||
public static CTextureRef GenerateCover(string text, ECoverGeneratorType type, CSong firstSong)
|
||||
{
|
||||
CTextureRef texture = CDraw.CopyTexture(NoCover);
|
||||
CTextureRef texture = Cover(text);
|
||||
if (texture != NoCover)
|
||||
return texture;
|
||||
texture = CDraw.CopyTexture(NoCover);
|
||||
Task.Factory.StartNew(() =>
|
||||
{
|
||||
_CancelToken.Token.ThrowIfCancellationRequested();
|
||||
|
||||
Reference in new issue
Block a user