Changed RageBitmapTexture to pass a dialog id for the missing texture warning so it can be ignored. Updated changelog.
This commit is contained in:
@@ -4,6 +4,15 @@ The StepMania 5 Changelog covers all post-sm-ssc changes. For a list of changes
|
|||||||
from StepMania 4 alpha 5 to sm-ssc v1.2.5, see Changelog_sm-ssc.txt.
|
from StepMania 4 alpha 5 to sm-ssc v1.2.5, see Changelog_sm-ssc.txt.
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
|
|
||||||
|
2015/04/25
|
||||||
|
----------
|
||||||
|
* [General] Screenshot key now checks whether there is a current song, and
|
||||||
|
puts the song title and current screen name in the screenshot filename. [kyzentun]
|
||||||
|
|
||||||
|
2015/04/24
|
||||||
|
----------
|
||||||
|
* [Gameplay] Toasty animation can now occur multiple times during gameplay. [kyzentun]
|
||||||
|
|
||||||
2015/04/23
|
2015/04/23
|
||||||
----------
|
----------
|
||||||
* [ServiceMenu] Entries in service menu rearranged to hopefully organize them
|
* [ServiceMenu] Entries in service menu rearranged to hopefully organize them
|
||||||
|
|||||||
@@ -85,8 +85,10 @@ void RageBitmapTexture::Create()
|
|||||||
/* Tolerate corrupt/unknown images. */
|
/* Tolerate corrupt/unknown images. */
|
||||||
if( pImg == NULL )
|
if( pImg == NULL )
|
||||||
{
|
{
|
||||||
RString sWarning = ssprintf( "RageBitmapTexture: Couldn't load %s: %s", actualID.filename.c_str(), error.c_str() );
|
RString warning = ssprintf("RageBitmapTexture: Couldn't load %s: %s",
|
||||||
Dialog::OK( sWarning );
|
actualID.filename.c_str(), error.c_str());
|
||||||
|
LOG->Warn(warning);
|
||||||
|
Dialog::OK(warning, "missing_texture");
|
||||||
pImg = RageSurfaceUtils::MakeDummySurface( 64, 64 );
|
pImg = RageSurfaceUtils::MakeDummySurface( 64, 64 );
|
||||||
ASSERT( pImg != NULL );
|
ASSERT( pImg != NULL );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user