Fix ASSERT that can fail when loading a sequence of files

This commit is contained in:
David Capello 2020-04-29 17:30:47 -03:00
parent 99a9ee49cb
commit 682b2c230c

View File

@ -1004,7 +1004,9 @@ void FileOp::postLoad()
void FileOp::setLoadedFormatOptions(const FormatOptionsPtr& opts)
{
ASSERT(!m_formatOptions);
// This assert can fail when we load a sequence of files.
// TODO what we should do, keep the first or the latest format options?
//ASSERT(!m_formatOptions);
m_formatOptions = opts;
}