mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-29 20:30:54 +00:00
Should only add 1 tile here...
--HG-- branch : gsoc2014-dfighter
This commit is contained in:
parent
eee43ad1ea
commit
ac643d2bb9
1 changed files with 2 additions and 2 deletions
|
@ -76,11 +76,11 @@ public:
|
|||
for( int i = 0; i < node->childCount(); i++ )
|
||||
{
|
||||
TileItemNode *tin = static_cast< TileItemNode* >( node->child( i ) );
|
||||
NL3D::CTile *tile = addTileToSet( set, type );
|
||||
|
||||
for( int j = TileModel::TileDiffuse; j < TileModel::TileAlpha; j++ )
|
||||
{
|
||||
QString fn = tin->getTileFilename( TileModel::TTileChannel( j ) );
|
||||
|
||||
NL3D::CTile *tile = addTileToSet( set, type );
|
||||
tile->setFileName( channelToTBitmap( TileModel::TTileChannel( j ) ) , fn.toUtf8().constData() );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue