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

tmxrasterizer's --hide-layer doesn't work with group layers #3899

Closed
LakeIshikawa opened this issue Mar 1, 2024 · 1 comment · Fixed by #3903
Closed

tmxrasterizer's --hide-layer doesn't work with group layers #3899

LakeIshikawa opened this issue Mar 1, 2024 · 1 comment · Fixed by #3903
Labels
bug Broken behavior.

Comments

@LakeIshikawa
Copy link

Describe the bug
If I specify a group layer to hide with hide-layer, all children of the group get rendered regardless, this is contrary to the normal behavior of manually hiding a group layer and then rendering the map with tmxrasterizer, in which case they are correctly hidden

To Reproduce
Steps to reproduce the behavior:

  1. Make map with 2 group layers "bg" and "fg", each with some children
  2. Run tmxrasterizer --hide-layer bg output.png
  3. See that bg's children layer are rendered into output.png

Expected behavior
"bg"'s children layers shouldn't be rendered into output.png

Specifications:

  • OS: MacOs 14
  • Tiled Version: 1.10.2
@bjorn
Copy link
Member

bjorn commented Mar 6, 2024

You're right, thanks for opening an issue about that! It should be fixed by #3903.

@bjorn bjorn closed this as completed in 5b84675 Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Broken behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants