diff --git a/src/js/utils/LayerUtils.js b/src/js/utils/LayerUtils.js index 6affb34d..3162c88d 100644 --- a/src/js/utils/LayerUtils.js +++ b/src/js/utils/LayerUtils.js @@ -17,7 +17,7 @@ var otherFrame = framesB[index]; mergedFrames.push(pskl.utils.FrameUtils.merge([otherFrame, frame])); }); - var mergedLayer = pskl.model.Layer.fromFrames(layerA.getName(), mergedFrames); + var mergedLayer = pskl.model.Layer.fromFrames(layerB.getName(), mergedFrames); return mergedLayer; },