fix effect fallback
This commit is contained in:
@@ -376,12 +376,12 @@ bool BackgroundImpl::Layer::CreateBackground( const Song *pSong, const Backgroun
|
||||
if( vsPaths.empty() )
|
||||
{
|
||||
LOG->Warn( "BackgroundEffect '%s' is missing.",sEffect.c_str() );
|
||||
BackgroundUtil::GetBackgroundEffects( SBE_Centered, vsPaths, vsThrowAway );
|
||||
sEffect = SBE_Centered;
|
||||
}
|
||||
else if( vsPaths.size() > 1 )
|
||||
{
|
||||
LOG->Warn( "BackgroundEffect '%s' has more than one match.",sEffect.c_str() );
|
||||
BackgroundUtil::GetBackgroundEffects( SBE_Centered, vsPaths, vsThrowAway );
|
||||
sEffect = SBE_Centered;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user