Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
add camera name to burnin data so it's usable in burnin templates
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Oct 30, 2020
1 parent 229d28a commit aa806b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pype/plugins/global/publish/extract_burnin.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@ def main_process(self, instance):
filled_anatomy = anatomy.format_all(burnin_data)
burnin_data["anatomy"] = filled_anatomy.get_solved()

# Add source camera name to burnin data
camera_name = repre.get("camera_name")
if camera_name:
burnin_data["camera_name"] = camera_name

first_output = True

files_to_delete = []
Expand Down

0 comments on commit aa806b8

Please sign in to comment.