mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
set intent only if set in extract burnin
This commit is contained in:
parent
d2f9336b45
commit
354c8d7a50
1 changed files with 5 additions and 2 deletions
|
|
@ -51,10 +51,13 @@ class ExtractBurnin(pype.api.Extractor):
|
|||
"frame_end": frame_end_handle,
|
||||
"duration": duration,
|
||||
"version": int(version),
|
||||
"comment": instance.context.data.get("comment", ""),
|
||||
"intent": instance.context.data.get("intent", {}).get("label", "")
|
||||
"comment": instance.context.data.get("comment", "")
|
||||
})
|
||||
|
||||
intent = instance.context.data.get("intent", {}).get("label")
|
||||
if intent:
|
||||
prep_data["intent"] = intent
|
||||
|
||||
# get anatomy project
|
||||
anatomy = instance.context.data['anatomy']
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue