mirror of
https://github.com/huderlem/porymap.git
synced 2026-10-06 14:57:11 -05:00
Merge branch 'master' into metatile-attr
This commit is contained in:
@@ -1367,7 +1367,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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user