Skip to content

Calling set_custom_data() on TileData is changing all TileData in TileMapLayer #108067

Open
@MrElfajar

Description

@MrElfajar

Tested versions

4.4.1.stable

System information

Android - Godot 4.4.1.stable

Issue description

If calling set_custom_data() is changing all TileData how to add or change custom data only for specific tiledata

Steps to reproduce

  • Create TileMapLayer
  • create tileset and create custom data
  • from code get TileData by calling TileMapLayer.get_cell_tile_data()
  • calling TileData.set_custom_data()
  • All TileData custom data value in TileMapLayer is changed

Minimal reproduction project (MRP)

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions