-
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
#FRAME_END# token wrong behaviour #1129
Comments
Does anyone know if this issue has been addressed? I did have the same issue and I already resolved, it's been under production for a month and not issues. Please let me know, so I can implement a PR for it. Thanks, |
it doesn't seem to be the case |
Would you mind sending a PR with your fix ? |
Definitely I can, probably next week as I'm a busy at work. |
Hi there. Any news regarding that issue ? I came up with that workaround in the meantime, when providing the command to the layer: For Windows/CMD:
Cheers. |
Thanks for reminding me about this one, I just created a draft PR (#1320) as it might need some tests to be created before I put it in review. |
It seems that the behavior is still not the one expected. Here's a proposition to address the issue: #1467 |
**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 <anton.brand@ubisoft.com> Co-authored-by: Kern Attila GERMAIN <5556461+KernAttila@users.noreply.github.com>
Hello all.
We have an issue with the #FRAME_END# token when the frame range is not divisible by the chunk size.
For exemple, if we have 72 frames with a chunk size of 10,
the last job will have the correct #FRAMESPEC# "71,72", but the #FRAME_END# will be 80,
rendering 8 more frame than necessary.
unfortunatly, i don't have knowledge in java to offer you a ready to use "pull request", and only suggest you some idea like
.replaceAll("#END_FRAME#", String.valueOf(Math.min(frameNumber+frame.chunkSize-1), fs.getAll()[ fs.size() - 1]))
i'm not sure the syntax is correct but the idea is there.
Many thanks
Opencue Version Number
0.14.5
The text was updated successfully, but these errors were encountered: