Skip to content

Commit

Permalink
Merge pull request #978 from ynput/bugfix/delivery-use-current-anatom…
Browse files Browse the repository at this point in the history
…y-roots

Delivery: Use current roots during delivery
  • Loading branch information
iLLiCiTiT authored Oct 30, 2024
2 parents 1af3b2d + e4d0d3d commit 070d3a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/ayon_core/pipeline/delivery.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,5 +409,9 @@ def get_representations_delivery_template_data(
"version": version_entity["version"],
})
_merge_data(template_data, repre_entity["context"])

# Remove roots from template data to auto-fill them with anatomy data
template_data.pop("root", None)

output[repre_id] = template_data
return output

0 comments on commit 070d3a5

Please sign in to comment.