OpenToonz - An open-source full-featured 2D animation creation software
C
fix angle unit (degree sign) expression
shun_iwasawadb3444ca994f
diff --git a/toonz/sources/common/tparam/tdoublekeyframe.cpp b/toonz/sources/common/tparam/tdoublekeyframe.cppindex 249f73e8e..7b1d7077d 100644--- a/toonz/sources/common/tparam/tdoublekeyframe.cpp+++ b/toonz/sources/common/tparam/tdoublekeyframe.cpp@@ -48,6 +48,9 @@ void TDoubleKeyframe::saveData(TOStream &os) constbreak;}std::string unitName = m_unitName != "" ? m_unitName : "default";+ // Dirty resolution. Because the degree sign is converted to unexpected string...+ if (QString::fromStdWString(L"\u00b0").toStdString() == unitName)+ unitName = "\\u00b0";switch (m_type) {case Constant:case Exponential: