Page 1 of 1

[2.0.23] Cut circuit connected rail signal does not rotate correctly when placing

Posted: Fri Nov 29, 2024 10:23 am
by runamucker
tl;dr

After cutting a rail signal with Ctrl-X, it doesn't rotate to fit the track when placed.

What I did
I used Ctrl-X to cut a rail signal. Then I placed it on another piece of track which was at a different angle.
cut.png
cut.png (270.85 KiB) Viewed 181 times
place.png
place.png (269.41 KiB) Viewed 181 times

What happened
The rail signal pasted on the ground at the same angle it was cut at, not connected to the rail it was placed on.
result.png
result.png (275.81 KiB) Viewed 181 times

What I expected to happen
I expected the rail signal to rotate into the correct position and attach itself to the rail, like it does when placing a rail signal with either the item or a ghost in hand.
expected.png
expected.png (278.65 KiB) Viewed 181 times

Why?
Rail signals have internal settings and circuit connections. Ctrl-X allows moving an item while keeping its settings and circuit connections intact. This should work with rail signals too.

Best case, this bug doesn't allow use of that feature with rail signals. Instead, a new rail signal or ghost has to be placed in the desired spot, then the settings transferred and circuit network reconnected.

Worst case, someone places the rail signal and thinks that the signalling is correct when it isn't.

Re: [2.0.23]Rail signals cut (Ctrl-X) don't rotate into place when pasted.

Posted: Fri Nov 29, 2024 10:57 am
by boskid
Well, 115683. I am not seeing ways of making it work, rotating signals into place is part of "filter direction" which is used only by manual builder because it is allowed to select directions and other features like cut wire are strictly part of blueprint builder because they need to store extra data on the entity copies.