From f79ac322cb7b0e87c6f4010c5f70edc34e168c26 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 23 Nov 2009 01:25:06 +0000 Subject: [PATCH] Fixed a bug in Undoable::copy_previous_frame (using LayerImage::add_cel directly instead of Undoable::add_cel). --- src/undoable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/undoable.cpp b/src/undoable.cpp index c26973646..4796172e2 100644 --- a/src/undoable.cpp +++ b/src/undoable.cpp @@ -736,7 +736,7 @@ void Undoable::copy_previous_frame(Layer* layer, int frame) } // add the cel in the layer - static_cast(layer)->add_cel(dst_cel); + add_cel(static_cast(layer), dst_cel); } void Undoable::add_cel(LayerImage* layer, Cel* cel)