[aseprite] 196/308: Copy user data when we unlink cels
Tobias Hansen
thansen at moszumanska.debian.org
Tue Mar 8 02:45:10 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 3d23336815fc2141b133e653e14e0881cde0b247
Author: David Capello <davidcapello at gmail.com>
Date: Mon Feb 1 10:58:29 2016 -0300
Copy user data when we unlink cels
---
src/app/cmd/unlink_cel.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/app/cmd/unlink_cel.cpp b/src/app/cmd/unlink_cel.cpp
index 8014540..e97402c 100644
--- a/src/app/cmd/unlink_cel.cpp
+++ b/src/app/cmd/unlink_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
@@ -38,6 +38,7 @@ void UnlinkCel::onExecute()
ImageRef imgCopy(Image::createCopy(oldCelData->image()));
CelDataRef celDataCopy(new CelData(*oldCelData));
celDataCopy->setImage(imgCopy);
+ celDataCopy->setUserData(oldCelData->userData());
if (m_newImageId) {
imgCopy->setId(m_newImageId);
--
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