mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
added custom data to burnin custm data
This commit is contained in:
parent
486317cb96
commit
bedccd6f69
1 changed files with 8 additions and 2 deletions
|
|
@ -221,11 +221,17 @@ class ExtractBurnin(openpype.api.Extractor):
|
|||
filled_anatomy = anatomy.format_all(burnin_data)
|
||||
burnin_data["anatomy"] = filled_anatomy.get_solved()
|
||||
|
||||
# Add context data burnin_data.
|
||||
burnin_data["custom"] = (
|
||||
custom_data = copy.deepcopy(
|
||||
instance.data.get("customData") or {}
|
||||
)
|
||||
# Backwards compatibility
|
||||
custom_data.update(
|
||||
instance.data.get("custom_burnin_data") or {}
|
||||
)
|
||||
|
||||
# Add context data burnin_data.
|
||||
burnin_data["custom"] = custom_data
|
||||
|
||||
# Add source camera name to burnin data
|
||||
camera_name = repre.get("camera_name")
|
||||
if camera_name:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue