mapeditor / tiled

Flexible level editor
https://www.mapeditor.org/
Other
11.24k stars 1.76k forks source link

Python Plugin API do not suport polygon, why? #2971

Open bombshen opened 3 years ago

bombshen commented 3 years ago

I want to do some data processing on "polygon"

bjorn commented 3 years ago

Indeed this code is currently disabled in the bindings generator:

https://github.com/mapeditor/tiled/blob/e45af88fdf02842ef5325d4e9cc08f290921c52b/src/plugins/python/tiledbinding.py#L270-L271

I'm not sure why it is commented out, but I guess one could find out by uncommenting it and trying to compile / use the API.

@bombshen Would you be able to help test / implement these functions?

bombshen commented 3 years ago

Thank you, I am very happy to implement it.