Fixed a bug in Undoable::copy_previous_frame (using LayerImage::add_cel directly instead of Undoable::add_cel).

This commit is contained in:
David Capello 2009-11-23 01:25:06 +00:00
parent 2a7d182b81
commit f79ac322cb

View File

@ -736,7 +736,7 @@ void Undoable::copy_previous_frame(Layer* layer, int frame)
} }
// add the cel in the layer // add the cel in the layer
static_cast<LayerImage*>(layer)->add_cel(dst_cel); add_cel(static_cast<LayerImage*>(layer), dst_cel);
} }
void Undoable::add_cel(LayerImage* layer, Cel* cel) void Undoable::add_cel(LayerImage* layer, Cel* cel)