- Moderator
- #51
Hi Matt,
we found some time to review your patch, here are our findings:
we found some time to review your patch, here are our findings:
- in TVHome.cs you iterate the Chapters and JumpPoints of the g_Player - both might be null, so it might be wise to check that as well
- the changes to GUITVProgressControl.cs are in conflict with the changes that were done due to a different patch - can you update your patch/branch to include those changes so the merge can be done without conflicts
- arion_p pointer to another possible issue, i'd like to quote him here:
On a quick code review there is one potential issue. While it is designed to only handle static markers (the number of markers cannot change once the progress control is initialized) it rereads and reparses the markers' positons on every render. This has 2 pitfalls: 1s is speed, the 2nd is the number of markers may be different than the number initially allocated causing an "index out of bounds" exception in rendering. Once this happens rendering will most probably stall.
Edit: I fact I think it would be possible to use a single GUIAnimation control instead of an array, which would make it able to handle dynamic changes to markers.
Germany