Don't dynamically flip the tiles image in the tileset editor

This commit is contained in:
Marcus Huderle 2019-01-21 19:18:09 -06:00
parent c14904f13c
commit 532c32cc00

View file

@ -44,7 +44,7 @@ void TilesetEditorTileSelector::draw() {
int y = tile / this->numTilesWide; int y = tile / this->numTilesWide;
int x = tile % this->numTilesWide; int x = tile % this->numTilesWide;
QPoint origin = QPoint(x * 16, y * 16); QPoint origin = QPoint(x * 16, y * 16);
painter.drawImage(origin, tileImage.mirrored(this->xFlip, this->yFlip)); painter.drawImage(origin, tileImage);
} }
painter.end(); painter.end();