mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-16 19:21:12 +00:00
Remove assert that can fail in batch mode
This commit is contained in:
parent
de5dbe5e24
commit
79601567c5
@ -81,7 +81,9 @@ void Transaction::setNewDocRange(const DocRange& range)
|
||||
|
||||
void Transaction::commit()
|
||||
{
|
||||
ui::assert_ui_thread();
|
||||
// This assert can fail when we run scripts in batch mode
|
||||
//ui::assert_ui_thread();
|
||||
|
||||
ASSERT(m_cmds);
|
||||
TX_TRACE("TX: Commit <%s>\n", m_cmds->label().c_str());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user