mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-30 12:19:04 +00:00
Fixed a bug in Undoable::copy_previous_frame (using LayerImage::add_cel directly instead of Undoable::add_cel).
This commit is contained in:
parent
2a7d182b81
commit
f79ac322cb
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user