mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 08:46:09 +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
|
||||
// Copyright (C) 2019-2020 Igara Studio S.A.
|
||||
// Copyright (C) 2019-2021 Igara Studio S.A.
|
||||
// Copyright (C) 2001-2018 David Capello
|
||||
//
|
||||
// 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()) {
|
||||
|
||||
case ObjectType::LayerImage: {
|
||||
case ObjectType::LayerImage:
|
||||
case ObjectType::LayerTilemap: {
|
||||
LayerImage* imglayer = static_cast<LayerImage*>(layer);
|
||||
|
||||
CelList cels;
|
||||
|
Loading…
Reference in New Issue
Block a user