Skip to content

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

C

Fix not count in the last column

Abel You9809cfbcfd83
diff --git a/toonz/sources/toonz/exportalllevelspopup.cpp b/toonz/sources/toonz/exportalllevelspopup.cpp
index cba0cbf20..942a0bf16 100644
--- a/toonz/sources/toonz/exportalllevelspopup.cpp
+++ b/toonz/sources/toonz/exportalllevelspopup.cpp
@@ -251,7 +251,7 @@ void ExportAllLevelsPopup::GetSelectedSimpLevels() {
TXshSimpleLevel *sl;
std::vector<int> cols;
- for (int i = 1; i < col_count; ++i) {
+ for (int i = 1; i <= col_count; ++i) {
TXshColumn *col = xsh->getColumn(i - 1);
assert(col);
if (!col->isCamstandVisible()) continue;