OpenToonz - An open-source full-featured 2D animation creation software
C
fix palette name display
shun-iwasawa8262e72163e5
diff --git a/toonz/sources/toonzlib/txshsimplelevel.cpp b/toonz/sources/toonzlib/txshsimplelevel.cppindex bdc9fdbea..952025a0d 100644--- a/toonz/sources/toonzlib/txshsimplelevel.cpp+++ b/toonz/sources/toonzlib/txshsimplelevel.cpp@@ -405,6 +405,9 @@ TPalette* TXshSimpleLevel::getPalette() const { return m_palette.getPointer(); }void TXshSimpleLevel::setPalette(TPalette* palette) {m_palette = palette; // TPaletteP handles ref counting automatically++ if (m_palette && !(getType() & FULLCOLOR_TYPE))+ m_palette->setPaletteName(getName());}//-----------------------------------------------------------------------------