OpenToonz - An open-source full-featured 2D animation creation software
C
Allow note frame creation on Animation Sheet
manongjohn2e6ee8a6c642
diff --git a/toonz/sources/toonz/xshcellviewer.cpp b/toonz/sources/toonz/xshcellviewer.cppindex eb0ed3e17..9bf359475 100644--- a/toonz/sources/toonz/xshcellviewer.cpp+++ b/toonz/sources/toonz/xshcellviewer.cpp@@ -2988,8 +2988,12 @@ void CellArea::mouseDoubleClickEvent(QMouseEvent *event) {// in modalita' xsheet as animation sheet non deve essere possibile creare// livelli con doppio click: se la cella e' vuota non bisogna fare nullaif ((Preferences::instance()->isAnimationSheetEnabled() &&- m_viewer->getXsheet()->getCell(row, col).isEmpty()))- return;+ m_viewer->getXsheet()->getCell(row, col).isEmpty())) {+ TXshColumn *column = m_viewer->getXsheet()->getColumn(col);+ if (!column ||+ column->getColumnType() != TXshColumn::ColumnType::eSoundTextType)+ return;+ }int colCount = m_viewer->getCellSelection()->getSelectedCells().getColCount();