mapeditor/tiled

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Multi-object selection bounding box wrong for Points #3784

eishiya posted onGitHub

When a Point Object is part of a multi-object selection, the bounding box of the selection takes into account the entire shape of the displayed "pin" shape, rather than just the actual point. This can make the bounding box larger than expected, affecting snapping and rotation behaviour. The behaviour is inconsistent with how Points behave on their own.

In addition to that, the shape taken into account is the "pin" shape 100% zoom, so at other zooms the bounding box doesn't even match the visuals: At 100%: image At 200%: image

I expect Point objects to be treated as points even in multi-object selections, and for the "pin" visualisation to have no effect on the combined bounding box and therefore snapping and rotation when they are part of a multi-object selection.

Observed in a 2023.07.07 nightly on Windows 10, but I suspect this behaviour is older and not OS-dependent.


Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests