mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-21 12:40:34 +00:00
Fix ASSERT that can fail when loading a sequence of files
This commit is contained in:
parent
99a9ee49cb
commit
682b2c230c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user