Skip to content

Commit

Permalink
LevelCelView: Removes unnecessary comment
Browse files Browse the repository at this point in the history
As in the title.
  • Loading branch information
tetektoza committed Oct 29, 2023
1 parent 195f364 commit 8f79c19
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions source/levelcelview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -572,14 +572,6 @@ void LevelCelView::insertTiles(IMAGE_FILE_MODE mode, int index, const QImage &im
return;
}

/*if (mode == IMAGE_FILE_MODE::AUTO
&& (image.width() != subtileWidth || image.height() != subtileHeight) && image.width() != subtileWidth * EXPORT_TILES_PER_LINE) {
// not a column of tiles
// not a row or tiles
// not a grouped tiles from an export -> ignore
return;
}*/

QImage subImage = QImage(tileWidth, tileHeight, QImage::Format_ARGB32);
for (int y = 0; y < image.height(); y += tileHeight) {
for (int x = 0; x < image.width(); x += tileWidth) {
Expand Down

0 comments on commit 8f79c19

Please sign in to comment.