if a texture is registered, we can use it whether it exists as a file or not (eg. RenderTargets)
This commit is contained in:
@@ -125,6 +125,7 @@ void Sprite::LoadFromNode( const RString& sDir, const XNode* pNode )
|
|||||||
|
|
||||||
if( !sPath.empty() )
|
if( !sPath.empty() )
|
||||||
{
|
{
|
||||||
|
if( !TEXTUREMAN->IsTextureRegistered( RageTextureID(sPath) ) )
|
||||||
ActorUtil::ResolvePath( sPath, sDir );
|
ActorUtil::ResolvePath( sPath, sDir );
|
||||||
|
|
||||||
// Load the texture
|
// Load the texture
|
||||||
|
|||||||
Reference in New Issue
Block a user