Page 1 of 1

[kovarex] [0.17.50] Rail signal placement sometimes not registering train in block

Posted: Wed Jun 19, 2019 2:03 pm
by EnigmaticAussie
Steps to reproduce:
Place blueprint

Code: Select all

0eNrtmN3OojAQhu9ljnHTUv6TvYs92xiC0NUmCKQUs8Zw79uC+mmsZibZw+9EAm0fZt6+0xYvsGsnOWjVGSguoOq+G6H4fYFR7buqdc/MeZBQgDLyCAF01dHd6Uq1MAegukb+hYLP2wBkZ5RRch2/3JzLbjrupLYd7iNHY8fuD2azIAIY+tGO6jv3Kkva8DCAs7syi2+UlvXaGs7BCzW8U+tJn2TzjpmvyPyZKDxEgY+T4eOM0NQMD42Rycfo5BN0mAk+zBQZJkeHmaHDjPBh5mgowZ/OI5jkBTp3zqlzlDxDuQ8aUpPHQNGlRGCiC4mQPLaOrpMkZh8kwUH4JwayUuJPjAzHyD8x8qdVflMfKtVtrvvBqyzsxxqQvT6LHfkWbEZhCxKaU9ApCf1VH21f98feqJN8WxwO2GtlGdXayHxIQSy50DdV4Vc9OIhN1/TDK4JdCQHY7d3ovi138lCdVK9dh1rpelKmtG3NfdQfpUdTvhwCTkqbadHzFvzSY6NlAyt+NJU7SjB3cxwqXRn3Fvi5NF/fJLtq18qyUaO7QmH0JAPQsmpKl8Agm3JJ59ay3Nyb0EH9gnmNqVsnd3RjuPvZaym7x2OKaqw+6bx1A8bbvAH4JI9RXqBYIaEtlH4npCgnRN9OwDjhcRFwDwRDWSNDWSMhWCOn7XdeawiGskb2bY3/tkgIjnLC9RMCZQWBPqNx9sEL1G0n8lIi2orlh8Q0b/shCVEVPyUlqpJ4KRlNFT+EWPFeSMSIqvgpnKhK5qWENFX8EEFTxQ+JiKr4KTFRFfud6MMQN/03lJSmyxtKRhTGYbbB+o9Q8fAHUgAnqceleyoYT9OQZcKuQ/8ATxMmpA==
Place regular signal before train station.
Signal stays green instead of red.

Image

Removing and replacing train causes signal to change to red.

****Addendum - cursor position is important when placing the train, if the cursor is at the rear of the loco, (prior to signal), the signal stays green. If the cursor is at the front of the loco, the signal changes to red.
I think this is the actual cause of the bug.
Expected behaviour:
Signal should be red on placement, and should account for the entire loco, regardless of cursor position when placed.

Re: [kovarex] [0.17.50] Rail signal placement sometimes not registering train in block

Posted: Mon Jul 01, 2019 10:53 am
by kovarex
Hello, this is actually not a bug. The train snapping is exactly on the edge of the two rails so it requires just a very little change to make it green or red (on the new block or not).
The position of clicking slightly affects the position slightly so it ends up on one or another side.