Skip to content

Version handles calculated based on context handles#254

Open
splidje wants to merge 2 commits into
ynput:developfrom
splidje:version_handles_based_on_context
Open

Version handles calculated based on context handles#254
splidje wants to merge 2 commits into
ynput:developfrom
splidje:version_handles_based_on_context

Conversation

@splidje
Copy link
Copy Markdown
Contributor

@splidje splidje commented May 11, 2026

Changelog Description

Version handles calculated based on context handles. Handles set for plate product type as well as render.

…n context handles. Handle set for plate product type as well as render.
@BigRoy BigRoy requested review from jakubjezek001 and rdelillo May 11, 2026 14:13
@BigRoy BigRoy added type: enhancement Improvement of existing functionality or minor addition community Issues and PRs coming from the community members labels May 11, 2026
handle_end = instance.context.data["handleEnd"]
first_frame, last_frame = self._get_frame_range_data(instance)
handle_start = max(0, root_first_frame + context_handle_start - first_frame)
handle_end = max(0, last_frame - (root_last_frame - context_handle_end))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure I understand where root_first_frame and context_handle_start come from.
Also do you mind to detail a bit more on why you need this new logic replacing instance.context_data please ?

…irst/last_frame and context_handle_start/end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Issues and PRs coming from the community members type: enhancement Improvement of existing functionality or minor addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants