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

Bug #1806602 reported by Carlo Santucci on 2018-12-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
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.

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) on 2018-12-05
Changed in or:
milestone: none → 1.3.1
importance: Undecided → Low
Carlo Santucci (carlosanit1) wrote :

Fixed in x.4324.

Changed in or:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers