mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-14 04:19:12 +00:00
Disable assert in BrushPreview::clearPixelDelegate
This assert fails too often and we prefer to show some data to try to fix it in a near future instead of showing an assertion dialog on Windows or closing the whole app.
This commit is contained in:
parent
00c7cb7e54
commit
53683579b8
@ -500,7 +500,12 @@ void BrushPreview::clearPixelDelegate(ui::Graphics* g, const gfx::Point& pt, gfx
|
||||
}
|
||||
}
|
||||
|
||||
ASSERT(m_savedPixelsIterator <= m_savedPixelsLimit);
|
||||
#if _DEBUG
|
||||
if (!(m_savedPixelsIterator <= m_savedPixelsLimit)) {
|
||||
TRACE("m_savedPixelsIterator <= m_savedPixelsLimit: %d <= %d failed\n",
|
||||
m_savedPixelsIterator, m_savedPixelsLimit);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
} // namespace app
|
||||
|
Loading…
x
Reference in New Issue
Block a user