If I add a 256x256 tile, maybe I should remove it as 256x256, not 128x128...

--HG--
branch : gsoc2014-dfighter
hg/feature/cdb-packed
dfighter1985 10 years ago
parent 9bb62a3ada
commit 20edb57761

@ -329,7 +329,7 @@ bool TileBank::addTile( int setIdx, const QString &name, const QVariant &pixmap,
switch( type ) switch( type )
{ {
case TileConstants::Tile128: set->removeTile128( tile, m_pvt->m_bank ); break; case TileConstants::Tile128: set->removeTile128( tile, m_pvt->m_bank ); break;
case TileConstants::Tile256: set->removeTile128( tile, m_pvt->m_bank ); break; case TileConstants::Tile256: set->removeTile256( tile, m_pvt->m_bank ); break;
} }
return false; return false;

Loading…
Cancel
Save