Disable the dimensions warning for all song graphics (even ones not in
songs).
This commit is contained in:
@@ -14,6 +14,7 @@
|
|||||||
#include "RageBitmapTexture.h"
|
#include "RageBitmapTexture.h"
|
||||||
#include "RageUtil.h"
|
#include "RageUtil.h"
|
||||||
#include "RageLog.h"
|
#include "RageLog.h"
|
||||||
|
#include "RageTextureManager.h"
|
||||||
#include "RageException.h"
|
#include "RageException.h"
|
||||||
#include "RageDisplay.h"
|
#include "RageDisplay.h"
|
||||||
#include "RageTypes.h"
|
#include "RageTypes.h"
|
||||||
@@ -311,12 +312,10 @@ apply_color_key:
|
|||||||
bRunCheck = false;
|
bRunCheck = false;
|
||||||
|
|
||||||
// HACK: Don't check song graphics. Many of them are weird dimensions.
|
// HACK: Don't check song graphics. Many of them are weird dimensions.
|
||||||
if( (actualID.filename.length()>=6 && actualID.filename.Left(6)=="Songs/") )
|
if( !TEXTUREMAN->GetOddDimensionWarning() )
|
||||||
bRunCheck = false;
|
|
||||||
if( (actualID.filename.length()>=6 && actualID.filename.Left(9)=="CDTitles/") )
|
|
||||||
bRunCheck = false;
|
bRunCheck = false;
|
||||||
|
|
||||||
if( bRunCheck )
|
if( bRunCheck )
|
||||||
{
|
{
|
||||||
float fFrameWidth = this->GetSourceWidth() / (float)this->GetFramesWide();
|
float fFrameWidth = this->GetSourceWidth() / (float)this->GetFramesWide();
|
||||||
float fFrameHeight = this->GetSourceHeight() / (float)this->GetFramesHigh();
|
float fFrameHeight = this->GetSourceHeight() / (float)this->GetFramesHigh();
|
||||||
|
|||||||
Reference in New Issue
Block a user