Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Fix timeline multi-cell dragging (#2613)

manongjohn9f8a4dfeb937
diff --git a/toonz/sources/toonz/xshcellmover.cpp b/toonz/sources/toonz/xshcellmover.cpp
index 6a5858bdf..1f962f9e7 100644
--- a/toonz/sources/toonz/xshcellmover.cpp
+++ b/toonz/sources/toonz/xshcellmover.cpp
@@ -183,10 +183,7 @@ bool CellsMover::canMoveCells(const TPoint &pos) {
while (i < m_rowCount * m_colCount) {
TXshColumn::ColumnType srcType = getColumnTypeFromCell(i);
int dstIndex = c + i;
- if (!m_orientation->isVerticalTimeline() &&
- dstIndex >= xsh->getColumnCount())
- return false;
- TXshColumn *dstColumn = xsh->getColumn(dstIndex);
+ TXshColumn *dstColumn = xsh->getColumn(dstIndex);
if (srcType == TXshColumn::eZeraryFxType ||
srcType == TXshColumn::eSoundTextType)
return false;