Enforce indexed tile images
This commit is contained in:
parent
5b3252cc01
commit
567a6d92e5
1 changed files with 1 additions and 1 deletions
|
@ -1388,7 +1388,7 @@ void Project::loadTilesetAssets(Tileset* tileset) {
|
|||
this->readTilesetPaths(tileset);
|
||||
QImage image;
|
||||
if (QFile::exists(tileset->tilesImagePath)) {
|
||||
image = QImage(tileset->tilesImagePath);
|
||||
image = QImage(tileset->tilesImagePath).convertToFormat(QImage::Format_Indexed8, Qt::ThresholdDither);
|
||||
} else {
|
||||
image = QImage(8, 8, QImage::Format_Indexed8);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue