TCS sounds are not unloaded when train far from camera or at end of run.

Bug #1806602 reported by Carlo Santucci
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
Fix Released
Low
Carlo Santucci

Bug Description

Unlike all other sounds (Player locomotive sounds excepted), the TCS sounds are not unloaded when the related locomotive moves far from the camera. This causes unneeded CPU time, which apparently generates also watchdog crashes; see attached log file.
AI train TCS sounds aren't unloaded either when the AI train disappears at end of run, which may lead to many warning lines with content "Sound Update Return False".
Proposed patch is attached too.

Tags: sounds
Revision history for this message
Carlo Santucci (carlosanit1) wrote :
Revision history for this message
Carlo Santucci (carlosanit1) wrote :
Changed in or:
assignee: nobody → Carlo Santucci (carlosanit1)
status: New → In Progress
description: updated
description: updated
description: updated
summary: - TCS sounds are not unloaded when train far from camera
+ TCS sounds are not unloaded when train far from camera or at end of run.
James Ross (twpol)
Changed in or:
milestone: none → 1.3.1
importance: Undecided → Low
Revision history for this message
Carlo Santucci (carlosanit1) wrote :

Fixed in x.4324.

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

Remote bug watches

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