mirror of
https://github.com/aseprite/aseprite.git
synced 2024-09-04 05:59:22 +00:00
Fixed undo for new frames in other layers.
This commit is contained in:
parent
c059b77958
commit
faf2c2cb20
@ -138,7 +138,7 @@ static bool copy_cel_in_next_frame(Sprite *sprite, Layer *layer, int frame)
|
||||
|
||||
/* add the cel in the layer */
|
||||
cel = cel_new(frame, image_index);
|
||||
undo_add_cel(sprite->undo, sprite->layer, cel);
|
||||
undo_add_cel(sprite->undo, layer, cel);
|
||||
layer_add_cel(layer, cel);
|
||||
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user