Skip to content

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

Closed
@LakeIshikawa

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugBroken behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions