diff --git a/src/fileformats/ocd_file_export.cpp b/src/fileformats/ocd_file_export.cpp index 540432bd1..b0702ed35 100644 --- a/src/fileformats/ocd_file_export.cpp +++ b/src/fileformats/ocd_file_export.cpp @@ -883,6 +883,9 @@ void OcdFileExport::exportSetup(OcdFile& file) for (int i = 0; i < num_colors; ++i) { const auto* color = map->getColorByPrio(i); + if (color->getOpacity() < 1) + addWarning(::OpenOrienteering::OcdFileExport::tr("Variable color opacity in \"%1\" is not supported by OCD version 8. Exporting as a fully opaque color.") + .arg(color->getName())); const auto& cmyk = color->getCmyk(); // OC*D stores CMYK values as integers from 0-200. auto ocd_cmyk = Ocd::CmykV8 {