mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-06 06:58:15 +00:00
Fix tilemap layer cels don’t move through frames movement action
Before this fix, tilemap layer cels don’t move when the user drag a column of cels through a frames movement action.
This commit is contained in:
parent
61e469d126
commit
30a1f33ef6
@ -1,5 +1,5 @@
|
|||||||
// Aseprite
|
// Aseprite
|
||||||
// Copyright (C) 2019-2020 Igara Studio S.A.
|
// Copyright (C) 2019-2021 Igara Studio S.A.
|
||||||
// Copyright (C) 2001-2018 David Capello
|
// Copyright (C) 2001-2018 David Capello
|
||||||
//
|
//
|
||||||
// This program is distributed under the terms of
|
// This program is distributed under the terms of
|
||||||
@ -452,7 +452,8 @@ void DocApi::moveFrameLayer(Layer* layer, frame_t frame, frame_t beforeFrame)
|
|||||||
|
|
||||||
switch (layer->type()) {
|
switch (layer->type()) {
|
||||||
|
|
||||||
case ObjectType::LayerImage: {
|
case ObjectType::LayerImage:
|
||||||
|
case ObjectType::LayerTilemap: {
|
||||||
LayerImage* imglayer = static_cast<LayerImage*>(layer);
|
LayerImage* imglayer = static_cast<LayerImage*>(layer);
|
||||||
|
|
||||||
CelList cels;
|
CelList cels;
|
||||||
|
Loading…
Reference in New Issue
Block a user