mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Add custom attributes "edit_in" and "edit_out" for Avalon frame range.
This commit is contained in:
parent
65a6152abe
commit
7b67805c2d
1 changed files with 5 additions and 5 deletions
|
|
@ -213,11 +213,11 @@ class CollectHierarchyContext(pyblish.api.ContextPlugin):
|
|||
# get custom attributes of the shot
|
||||
in_info['custom_attributes'] = {
|
||||
'handles': int(instance.data.get('handles')),
|
||||
'fend': int(
|
||||
(source_first + source_out)),
|
||||
'fstart': int(
|
||||
source_first + source_in),
|
||||
'fps': context.data["framerate"]
|
||||
'fstart': int(instance.data["startFrame"]),
|
||||
'fend': int(instance.data["endFrame"]),
|
||||
'fps': context.data["framerate"],
|
||||
"edit_in": int(instance.data["startFrame"]),
|
||||
"edit_out": int(instance.data["endFrame"])
|
||||
}
|
||||
|
||||
handle_start = instance.data.get('handleStart')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue