Don't dynamically flip the tiles image in the tileset editor
This commit is contained in:
parent
c14904f13c
commit
532c32cc00
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue