Copy frame duration when we copy frames between two different sprites (fix #1023)

This commit is contained in:
David Capello 2016-04-18 16:53:07 -03:00
parent fca32900bb
commit 8de18946f8

View File

@ -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),