This is an automated email from the git hooks/post-receive script. thansen pushed a commit to branch master in repository aseprite.
commit 720bd349e3154f9d2ac9a9d584d01e5f2d09af31 Author: David Capello <[email protected]> Date: Tue May 24 11:16:03 2016 -0300 Add some asserts in CopyCel to find the cause of a possible crash --- src/app/cmd/copy_cel.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/cmd/copy_cel.cpp b/src/app/cmd/copy_cel.cpp index 96d8789..3fbb63f 100644 --- a/src/app/cmd/copy_cel.cpp +++ b/src/app/cmd/copy_cel.cpp @@ -1,5 +1,5 @@ // Aseprite -// Copyright (C) 2001-2015 David Capello +// Copyright (C) 2001-2016 David Capello // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as @@ -126,6 +126,10 @@ void CopyCel::onExecute() void CopyCel::onFireNotifications() { CmdSequence::onFireNotifications(); + + ASSERT(m_srcLayer.layer()); + ASSERT(m_dstLayer.layer()); + static_cast<app::Document*>(m_dstLayer.layer()->sprite()->document()) ->notifyCelCopied( m_srcLayer.layer(), m_srcFrame, -- 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

