OpenToonz - An open-source full-featured 2D animation creation software
C
autopaint indicator on palette viewer
shun_iwasawa24d63588e879
diff --git a/toonz/sources/toonzqt/paletteviewergui.cpp b/toonz/sources/toonzqt/paletteviewergui.cppindex 39767031b..e4ee342fc 100644--- a/toonz/sources/toonzqt/paletteviewergui.cpp+++ b/toonz/sources/toonzqt/paletteviewergui.cpp@@ -769,6 +769,14 @@ void PageViewer::paintEvent(QPaintEvent *e) {p.setBrush(Qt::white);p.drawRect(indexRect);p.drawText(indexRect, Qt::AlignCenter, QString().setNum(styleIndex));++ //draw "Autopaint for lines" indicator+ if (style->getFlags() != 0) {+ QRect aflRect(chipRect.bottomLeft() + QPoint(0,-14), QSize(12,15));+ p.drawRect(aflRect);+ p.drawText(aflRect, Qt::AlignCenter, "A");+ }+// revert font setp.setFont(preFont);// revert brush