@@ -647,7 +647,7 @@ void GenericCAO::addToScene(ITextureSource *tsrc, scene::ISceneManager *smgr)
647
647
m_matrixnode, v2f (1 , 1 ), v3f (0 ,0 ,0 ), -1 );
648
648
m_spritenode->grab ();
649
649
m_spritenode->setMaterialTexture (0 ,
650
- tsrc->getTextureForMesh (" unknown_node .png" ));
650
+ tsrc->getTextureForMesh (" no_texture .png" ));
651
651
652
652
setSceneNodeMaterial (m_spritenode);
653
653
@@ -1288,7 +1288,7 @@ void GenericCAO::updateTextures(std::string mod)
1288
1288
1289
1289
if (m_spritenode) {
1290
1290
if (m_prop.visual == " sprite" ) {
1291
- std::string texturestring = " unknown_node .png" ;
1291
+ std::string texturestring = " no_texture .png" ;
1292
1292
if (!m_prop.textures .empty ())
1293
1293
texturestring = m_prop.textures [0 ];
1294
1294
texturestring += mod;
@@ -1367,7 +1367,7 @@ void GenericCAO::updateTextures(std::string mod)
1367
1367
{
1368
1368
for (u32 i = 0 ; i < 6 ; ++i)
1369
1369
{
1370
- std::string texturestring = " unknown_node .png" ;
1370
+ std::string texturestring = " no_texture .png" ;
1371
1371
if (m_prop.textures .size () > i)
1372
1372
texturestring = m_prop.textures [i];
1373
1373
texturestring += mod;
@@ -1400,7 +1400,7 @@ void GenericCAO::updateTextures(std::string mod)
1400
1400
} else if (m_prop.visual == " upright_sprite" ) {
1401
1401
scene::IMesh *mesh = m_meshnode->getMesh ();
1402
1402
{
1403
- std::string tname = " unknown_object .png" ;
1403
+ std::string tname = " no_texture .png" ;
1404
1404
if (!m_prop.textures .empty ())
1405
1405
tname = m_prop.textures [0 ];
1406
1406
tname += mod;
@@ -1422,7 +1422,7 @@ void GenericCAO::updateTextures(std::string mod)
1422
1422
buf->getMaterial ().setFlag (video::EMF_ANISOTROPIC_FILTER, use_anisotropic_filter);
1423
1423
}
1424
1424
{
1425
- std::string tname = " unknown_object .png" ;
1425
+ std::string tname = " no_texture .png" ;
1426
1426
if (m_prop.textures .size () >= 2 )
1427
1427
tname = m_prop.textures [1 ];
1428
1428
else if (!m_prop.textures .empty ())
0 commit comments