Page 1 of 1

[2.0.13] Rotating splitter adds items after filter

Posted: Sat Nov 02, 2024 11:56 am
by rvb30
IDK if this is a bug or not, but the behaviour has changed from 1.1 and I personally prefer the old version.

If you have a splitter with a filter and you rotate it (R key by default) then items pass through from the input and appear on the filtered side defying the filter

Here I have a splitter:
Before.png
Before.png (238.84 KiB) Viewed 168 times
And then after rotating it in place:
After.png
After.png (222.63 KiB) Viewed 168 times
In 1.1 the extra items on the bottom right of the splitter wouldn't be there

Re: [2.0.13] Rotating splitter adds items after filter

Posted: Tue Nov 05, 2024 3:21 pm
by boskid
I traced back this change and it is related to adding support to flip entities. There is some attempt at swapping line contents when splitter is rotated which seems suspicious as lines should be only swapped when entity gets sides flipped. This has quite low priority right now so i will reconsider how to handle this at a later point in time. One of the options is to move line content swapping to only happen when flipping sides but not when rotating.

Re: [2.0.13] Rotating splitter adds items after filter

Posted: Tue Nov 05, 2024 3:29 pm
by rvb30
Hey, thanks for the reply,

I know it's not a priority, but wanted to flag it up.

p.s. I notice you've officially got a blue belt of posts, well done!