Skip to content

Commit

Permalink
Copy frame duration when we copy frames between two different sprites (
Browse files Browse the repository at this point in the history
…fix #1023)
  • Loading branch information
dacap committed Apr 18, 2016
1 parent fca3290 commit 8de1894
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/util/clipboard.cpp
Expand Up @@ -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),
Expand Down

0 comments on commit 8de1894

Please sign in to comment.