[1.1.59] highlight-box with curved-rail target has incorrect bounding box

This subforum contains all the issues which we already resolved.
User avatar
_CodeGreen
Long Handed Inserter
Long Handed Inserter
Posts: 72
Joined: Sat Mar 05, 2022 11:30 am
Contact:

[1.1.59] highlight-box with curved-rail target has incorrect bounding box

Post by _CodeGreen »

When creating a highlight box, setting it's target to a curved rail will give it an incorrectly sized bounding box.

Reproduce: Hover over a curved rail and use the command below.
/c game.surfaces[1].create_entity{name = "highlight-box", position = {x=0,y=0}, target = game.player.selected}
incorrect-highlight-box.png
incorrect-highlight-box.png (403.46 KiB) Viewed 3065 times
My Mods | If you can't make it perfect, make it adjustable
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3272
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [1.1.59] highlight-box with curved-rail target has incorrect bounding box

Post by boskid »

This is a wont fix.
User avatar
_CodeGreen
Long Handed Inserter
Long Handed Inserter
Posts: 72
Joined: Sat Mar 05, 2022 11:30 am
Contact:

Re: [1.1.59] highlight-box with curved-rail target has incorrect bounding box

Post by _CodeGreen »

I'm curious as to the reason why, is it non-trivial or just not worth the time? I understand either way.
My Mods | If you can't make it perfect, make it adjustable
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3272
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [1.1.59] highlight-box with curved-rail target has incorrect bounding box

Post by boskid »

Fine, i reevaluated how hard it is to fix this issue so it is now fixed for 1.1.61.
102601.png
102601.png (59.74 KiB) Viewed 2915 times
Post Reply

Return to “Resolved Problems and Bugs”