Preserve setting from set_transparent_pixels_black

This commit is contained in:
GriffinR
2025-08-07 19:30:45 -04:00
parent 5174dcb6eb
commit 0b057a08a4

View File

@@ -974,6 +974,11 @@ void ProjectConfig::parseConfigKeyValue(QString key, QString value) {
this->tilesetsHaveCallback = getConfigBool(key, value);
} else if (key == "tilesets_have_is_compressed") {
this->tilesetsHaveIsCompressed = getConfigBool(key, value);
#ifdef CONFIG_BACKWARDS_COMPATABILITY
// Old setting replaced by transparency_color
} else if (key == "set_transparent_pixels_black") {
this->transparencyColor = getConfigBool(key, value) ? QColor(Qt::black) : QColor();
#endif
} else if (key == "transparency_color") {
this->transparencyColor = getConfigColor(key, value);
} else if (key == "preserve_matching_only_data") {