View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004547||The Dark Mod||GUI||public||26.06.2017 17:16||02.07.2017 06:58|
|Product Version||TDM 2.06|
|Target Version||TDM 2.06||Fixed in Version||TDM 2.06|
|Summary||0004547: Credits GUI: video sequences start looping|
|Description||If you run credits with newest FFmpeg-based cinematics, then each ROQ video would play again and again after it ends.|
|Additional Information||The problem is in GUI scripts which run credits.|
They should resetCinematics and set notime for the windows with videos after video has ended (probably detect with CinematicEnd named event).
|Tags||No tags attached.|
Fixed in revision 6994 (code).
Instead of changing GUI scripts, I decided to change the code and partially rolled back the changes from 0004535 issue.
Now cinematics is closed ONLY when GUI script actually has a handler for "CinematicEnd" named event. If there is no such handler, then the old behavior is restored.
This means that there is no need to hunt down every GUI script which forgets to reset time after it ends (like credits GUI). Now they work as before: cinematic continues to be polled each frame, and continues to constantly spam to logfile. But it remains in EOF state, so no image is returned.
On the other hand, a good GUI script should listen to "CinematicEnd" event and stop GUI time at that moment. If there is CinematicEnd handler, then closing cinematics is necessary to avoid triggering event again when cinematic is restarted =(
|26.06.2017 17:16||stgatilov||New Issue|
|26.06.2017 17:17||stgatilov||Relationship added||related to 0004535|
|02.07.2017 06:42||stgatilov||Assigned To||=> stgatilov|
|02.07.2017 06:42||stgatilov||Status||new => assigned|
|02.07.2017 06:57||stgatilov||Note Added: 0008943|
|02.07.2017 06:58||stgatilov||Status||assigned => resolved|
|02.07.2017 06:58||stgatilov||Fixed in Version||=> TDM 2.06|
|02.07.2017 06:58||stgatilov||Resolution||open => fixed|