Skip to content

Tilemaps gizmos don't render in correct place when in subviewportcontainers #1192

@Shadowblitz16

Description

@Shadowblitz16

Tested versions

26.1

System information

Debain 13

Issue description

Putting a tilemap inside a sub viewport inside a sub viewport container draws gizmos in the wrong position.

Idk if it's related but the tilemap is not visible either I have to offset it to get it to show in the viewport.

The sub viewport was transparent and had no child camera.

The tileset was 1x1 pixel tiles.

Steps to reproduce

  • add a sub viewport container as a child of a vbox with a sub viewport child with a tilemap child
  • make sure to use a control node as a spacer to offset the sub viewport container downward in the vbox
  • draw some tiles.

Minimal reproduction project (MRP)

I will upload this later I am on phone right now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions