Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: Copy correct filters to new layers
Should resolve #11392 In dfb26f3, the NDE filters in the copied image are retrieved with gimp_image_get_layer_iter (). This works fine for single layer images or when all the layers are copied at once. However, if a subset is copied then the filters are always copied starting from the top level of the image. This can result in an incorrect filter being copied to the wrong layer. To fix this, we get the filters from the provided drawables list instead. This matches the number of layers in the copied image exactly, since it was used to create the copied image.
- Loading branch information