Skip to content

Commit 1ac4d93

Browse files
committed
fix: num frames was always 1 when time sampling mode is Acyclic
1 parent 21368bc commit 1ac4d93

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Plugin/abci/Importer/aiContext.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,8 @@ bool aiContext::load(const char *inPath)
330330
{
331331
m_timeRange[0] = ts->getSampleTime(0);
332332
m_timeRange[1] = ts->getSampleTime(ts->getNumStoredTimes() - 1);
333+
334+
if (ts->getNumStoredTimes() > m_numFrames) m_numFrames = ts->getNumStoredTimes();
333335
}
334336
}
335337

0 commit comments

Comments
 (0)