-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix end frame replacement to acknowledge the chunk size. #1320
Fix end frame replacement to acknowledge the chunk size. #1320
Conversation
Hi there, thank you for doing this! We met the same problem recently and this is nice to see this being addressed. I wonder if the logic is correct though. Wouldn't it be the indexes we want to compare, rather than the frame numbers themselves ? Let's take that example:
With that configuration, I'd expect the frame set to be divided into two chunks:
Now with the current proposal, I'd suggest to follow the behavior of the What do you think ? |
Yes, you are absolutely right, will revisit in the coming days. |
Hi @carlosfelgarcia any update on this? |
Hi Diego, this has totally got out of my radar, I just updated the code. |
Can you rebase this from master to make sure you get the fixes to failing unit tests merged in? |
fd7e7bf
to
edf899e
Compare
edf899e
to
88fa02c
Compare
6c0991e
into
AcademySoftwareFoundation:master
**Link the Issue(s) this Pull Request is related to.** #1129 **Summarize your change.** Fix the frame end resolution of a frame chunk used to fill the place holder `#FRAME_END#`. The current behavior incorrectly returns the index of the last frame in the frame list instead of its value. Leverage `FrameSet.get_chunk` method that is already doing all the legwork to get the last frame. **Related topics** - #1320 - #367 --------- Signed-off-by: Anton Brand <[email protected]> Co-authored-by: Kern Attila GERMAIN <[email protected]>
Link the Issue(s) this Pull Request is related to.
Fixes #1129
Summarize your change.
Simple change to replace the "FRAME_END" variable, acknowledging the chunk size by selecting the minimum between the last frame and last frame in the chunk.