Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting split layers with group layers is broken #1102

Open
novhack opened this issue Sep 10, 2024 · 1 comment
Open

Exporting split layers with group layers is broken #1102

novhack opened this issue Sep 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@novhack
Copy link
Contributor

novhack commented Sep 10, 2024

Pixelorama version:
v1.0.2-stable (Steam Linux version)

OS/device including version:
Arch Linux, KDE Plasma 6

Issue description:
There are currently two issues I found in exporting split layers:

  1. If the project has group layers these will be shown in the preview of split layer images even though they are always empty
  2. When export is pressed an incorrect amount of images is created:
  • For instance if there are 3 group layers and 9 pixel layers the export will create only 9 images but will include empty group layers in the export so 3 images will be missing (the export probably cycles through all layers but only exports as many as there are pixel layers)

Steps to reproduce:

  1. Create a project with 3 group layers and 3 normal pixel layers in each group.
  2. In export select option: Split layers
  3. Empty group layers will be shown in the preview
  4. Clicking Export generates 9 png files with empty images for 2 group layers and 3 last layers missing
@novhack novhack added the bug Something isn't working label Sep 10, 2024
@OverloadedOrama
Copy link
Member

I can replicate the first issue but not the second. When split layers is enabled, the exporter makes every layer its own separate image, without taking into account the layer type. This causes the first issue, but the amount of images exported should be the same as the amount of layers, which it is on my testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants