keep same frame num when reloading

This commit is contained in:
jfmcarreira committed 2014-06-17 10:48:49 +01:00
1 parent 3288812f0e
commit 38c18492b2
3 files changed
+10 -2

No files matched your search

+7
View File
@@ -73,6 +73,13 @@ SubWindowHandle::~SubWindowHandle()
delete m_pCurrStream;
}
Void SubWindowHandle::reloadFile()
{
Int currFrameNum = m_pCurrStream->getCurrFrameNum();
loadFile( m_cCurrFileName, false );
seekAbsoluteEvent( currFrameNum );
}
Bool SubWindowHandle::loadFile( const QString &rcFilename, Bool bForceDialog )
{
UInt Width = 0, Height = 0, FrameRate = 30;