OpenToonz - An open-source full-featured 2D animation creation software
C
Fix a couple instances of RGBM (#305)
Jeremy Bullockf519b6c450f5
diff --git a/toonz/sources/image/tif/tiio_tif.cpp b/toonz/sources/image/tif/tiio_tif.cppindex f8cec502b..04b52b2c3 100644--- a/toonz/sources/image/tif/tiio_tif.cpp+++ b/toonz/sources/image/tif/tiio_tif.cpp@@ -734,8 +734,8 @@ void Tiio::TifWriterProperties::updateTranslation() {m_bitsPerPixel.setItemUIName(L"48(RGB)", tr("48(RGB)"));m_bitsPerPixel.setItemUIName(L" 1(BW)", tr(" 1(BW)"));m_bitsPerPixel.setItemUIName(L" 8(GREYTONES)", tr(" 8(GREYTONES)"));- m_bitsPerPixel.setItemUIName(L"32(RGBM)", tr("32(RGBM)"));- m_bitsPerPixel.setItemUIName(L"64(RGBM)", tr("64(RGBM)"));+ m_bitsPerPixel.setItemUIName(L"32(RGBM)", tr("32(RGBA)"));+ m_bitsPerPixel.setItemUIName(L"64(RGBM)", tr("64(RGBA)"));m_orientation.setQStringName(tr("Orientation"));m_orientation.setItemUIName(TNZ_INFO_ORIENT_TOPLEFT, tr("Top Left"));m_orientation.setItemUIName(TNZ_INFO_ORIENT_TOPRIGHT, tr("Top Right"));diff --git a/toonz/sources/stdfx/rgbmcutfx.cpp b/toonz/sources/stdfx/rgbmcutfx.cppindex 06b50235c..7699c33c1 100644--- a/toonz/sources/stdfx/rgbmcutfx.cpp+++ b/toonz/sources/stdfx/rgbmcutfx.cpp@@ -127,7 +127,7 @@ void RGBMCutFx::doCompute(TTile &tile, double frame,doRGBMCut<TPixel64, USHORT>(raster64, hi_m, hi_r, hi_g, hi_b, lo_m, lo_r,lo_g, lo_b);else- throw TException("RGBMCutFx: unsupported Pixel Type");+ throw TException("RGBACutFx: unsupported Pixel Type");}}diff --git a/toonz/sources/stdfx/rgbmfadefx.cpp b/toonz/sources/stdfx/rgbmfadefx.cppindex 2a9842077..f0fdb9641 100644--- a/toonz/sources/stdfx/rgbmfadefx.cpp+++ b/toonz/sources/stdfx/rgbmfadefx.cpp@@ -88,7 +88,7 @@ void RGBMFadeFx::doCompute(TTile &tile, double frame,if (raster64)doRGBMFade<TPixel64>(raster64, toPixel64(col), intensity);else- throw TException("RGBMFadeFx: unsupported Pixel Type");+ throw TException("RGBAFadeFx: unsupported Pixel Type");}}