From a69b83e9bdabb67662d77fdf46b2a0b9575056e3 Mon Sep 17 00:00:00 2001 From: jdescottes Date: Mon, 28 Oct 2013 21:57:59 +0100 Subject: [PATCH] Fix : layer : duplicateFrame bug --- js/model/Layer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/model/Layer.js b/js/model/Layer.js index 57b5f66b..0132e6a6 100644 --- a/js/model/Layer.js +++ b/js/model/Layer.js @@ -63,7 +63,7 @@ ns.Layer.prototype.duplicateFrame = function (frame) { var index = this.frames.indexOf(frame); - this.duplicateFrameAt(); + this.duplicateFrameAt(index); }; ns.Layer.prototype.duplicateFrameAt = function (index) {