[aseprite] 15/128: Copy frame duration when we copy frames between two different sprites (fix #1023)
    Tobias Hansen 
    thansen at moszumanska.debian.org
       
    Mon May  9 21:24:18 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 8de18946f875385f4c95765dcd8a1eb10be390ab
Author: David Capello <davidcapello at gmail.com>
Date:   Mon Apr 18 16:53:07 2016 -0300
    Copy frame duration when we copy frames between two different sprites (fix #1023)
---
 src/app/util/clipboard.cpp | 1 +
 1 file changed, 1 insertion(+)
diff --git a/src/app/util/clipboard.cpp b/src/app/util/clipboard.cpp
index 4d6dfe6..4714ca3 100644
--- a/src/app/util/clipboard.cpp
+++ b/src/app/util/clipboard.cpp
@@ -439,6 +439,7 @@ void paste()
 
           for (frame_t frame = srcRange.frameBegin(); frame <= srcRange.frameEnd(); ++frame) {
             api.addFrame(dstSpr, dstFrame);
+            api.setFrameDuration(dstSpr, dstFrame, srcSpr->frameDuration(frame));
 
             for (LayerIndex
                    i = LayerIndex(srcLayers.size()-1),
-- 
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