Signal light disappear since revision #2322
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Rails |
Fix Released
|
Low
|
James Ross |
Bug Description
As explained in a topic of the Elvas Tower forum, we noticed that the light of some signal disappear when one get closer from them. After some back-tracking, it seems that this happens since revision #2322 (Experimental signal light glows). The issue happens when the experimental option is not set. It doesn't affect all signals.
To reproduce, you may want to (sorry, I couldn't find a simpler setup :-( ):
- Load this route at http://
- Use the path attached to the topic pointed above to create an activity. The first signal you will meet exposes the problem.
I attache a possible patch, which restores the z-bias that was applied until rev #2321 to Out.Position.z. This z-bias was removed at rev #2322, and replaced by non proportional offset, which doesn't work when distance is small. The behavior when glow option is enabled isn't modified by this patch.
tags: |
added: graphics removed: signals |
Changed in or: | |
status: | Fix Committed → Fix Released |
It is worth noting that the old positioning would cause the light to incorrectly cut through bits of the signal shape, so I'm not sure we should just go straight back to it.