This is an automated email from the git hooks/post-receive script. thansen pushed a commit to branch master in repository aseprite.
commit 53683579b89666bab2389cdcb41b85f80cc0a83b Author: David Capello <[email protected]> Date: Mon May 2 13:04:31 2016 -0300 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. --- src/app/ui/editor/brush_preview.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/ui/editor/brush_preview.cpp b/src/app/ui/editor/brush_preview.cpp index 6e1946f..92f9663 100644 --- a/src/app/ui/editor/brush_preview.cpp +++ b/src/app/ui/editor/brush_preview.cpp @@ -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 -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

