Skip to content

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

C

Fix OCA Export using incorrect Output settings.

manongjohnd2023179082b
diff --git a/toonz/sources/toonz/ocaio.cpp b/toonz/sources/toonz/ocaio.cpp
index 51e5dc76c..5bfbfb1c6 100644
--- a/toonz/sources/toonz/ocaio.cpp
+++ b/toonz/sources/toonz/ocaio.cpp
@@ -332,8 +332,8 @@ void OCAData::build(ToonzScene *scene, TXsheet *xsheet, QString name,
TOutputProperties *oprop = scene->getProperties()->getOutputProperties();
int from, to, step;
if (scene->getTopXsheet() == xsheet && oprop->getRange(from, to, step)) {
- m_startTime = from - 1;
- m_endTime = to - 1;
+ m_startTime = from;
+ m_endTime = to;
// m_stepTime = step;
} else {
m_startTime = 0;