LPS Tracks using Summer textures in Winter

Bug #1159557 reported by Nicholas Ozorak
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
Fix Released
Medium
Jijun Tang

Bug Description

The tracks for the London & Port Stanley route have winter textures, but Open Rails is not using them in version x1502. Screenshot attached. The track system is UKFinescale.

Tags: graphics
Revision history for this message
Nicholas Ozorak (etozorak) wrote :
Revision history for this message
Wayne Campbell (wayneinbc) wrote :

Is this with the superelevation option enabled? Or does the problem occur whether superelevation is set or not?

Revision history for this message
Nicholas Ozorak (etozorak) wrote :

This occurs with superelevation disabled as well as enabled.

Changed in or:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Wayne Campbell (wayneinbc)
milestone: none → 0.9
tags: added: graphics seasons
James Ross (twpol)
tags: removed: seasons
Changed in or:
assignee: Wayne Campbell (wayneinbc) → nobody
Jijun Tang (jtang-h)
Changed in or:
assignee: nobody → Jijun Tang (jtang-h)
cjakeman (cjakeman)
Changed in or:
milestone: 0.9 → 1.0
Revision history for this message
Jijun Tang (jtang-h) wrote :

Did you see the same effect in MSTS?

Revision history for this message
Nicholas Ozorak (etozorak) wrote :

No. This only happens in OR.

Revision history for this message
Jijun Tang (jtang-h) wrote :

These tracks are defined as Static objects in the world file, and the shape file used is different from those defined in the global tsection.dat, thus OR is confused.

Revision history for this message
Jijun Tang (jtang-h) wrote :

OK, I eventually found out the problem. For example, the lpstrack100m.s defined in Global is shown using summer texture. After tracing the code, I noticed that this shape does not define any texture flags (i.e. SnowTrack), thus OR does not think we should use winter textures.

Not sure what is the best approach to fix it.

Changed in or:
status: Triaged → In Progress
Revision history for this message
Jijun Tang (jtang-h) wrote :

Fixed in 1793.

Changed in or:
status: In Progress → Fix Committed
James Ross (twpol)
Changed in or:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.