diff -r 64ddcd77639f -r 65dbfcb859a7 src/model.cpp --- a/src/model.cpp Sun Jul 03 21:49:15 2022 +0300 +++ b/src/model.cpp Sun Jul 03 22:24:12 2022 +0300 @@ -112,10 +112,15 @@ { return std::visit(overloaded{ [](const Colored& ref) { - return QStringLiteral("1 %1 %2 %3") + QString result; + if (ref.inverted) { + result += QStringLiteral("0 BFC INVERTNEXT\r\n"); + } + result += QStringLiteral("1 %1 %2 %3") .arg(ref.color.index) .arg(transformToString(ref.transformation)) .arg(ref.name); + return result; }, [](const Colored& seg) { return QStringLiteral("2 %1 %2 %3")