[aseprite] 90/308: Copy user data when we copy a cel

Tobias Hansen thansen at moszumanska.debian.org
Tue Mar 8 02:44:56 UTC 2016


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 9e6e303ccd0ec21fddb3bc4945b06913aaa559a2
Author: David Capello <davidcapello at gmail.com>
Date:   Fri Dec 11 14:46:27 2015 -0300

    Copy user data when we copy a cel
---
 src/app/util/create_cel_copy.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/app/util/create_cel_copy.cpp b/src/app/util/create_cel_copy.cpp
index 85cca51..96c13cd 100644
--- a/src/app/util/create_cel_copy.cpp
+++ b/src/app/util/create_cel_copy.cpp
@@ -73,6 +73,7 @@ Cel* create_cel_copy(const Cel* srcCel,
 
   dstCel->setPosition(srcCel->position());
   dstCel->setOpacity(srcCel->opacity());
+  dstCel->data()->setUserData(srcCel->data()->userData());
 
   return dstCel.release();
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list