mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-24 07:43:35 +00:00
Fix exporting correct set of layers in JSON's meta.layers when -split-layers and -ignore-layer (fix #2432)
This commit is contained in:
parent
36252cfc2c
commit
73ff0dc28c
@ -71,7 +71,7 @@ LayerList SelectedLayers::toAllLayersList() const
|
||||
|
||||
for (Layer* layer = (*begin())->sprite()->firstLayer();
|
||||
layer != nullptr;
|
||||
layer = layer->getNext()) {
|
||||
layer = layer->getNextInWholeHierarchy()) {
|
||||
if (contains(layer))
|
||||
output.push_back(layer);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user