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

Commit

Permalink
Nuke: multiple baking profile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubjezek001 committed Jan 18, 2022
1 parent 7e25f22 commit 49de654
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def process(self, instance):

# generate data
with anlib.maintained_selection():
generated_repres = []
for o_name, o_data in self.outputs.items():
f_families = o_data["filter"]["families"]
f_task_types = o_data["filter"]["task_types"]
Expand Down Expand Up @@ -112,11 +113,13 @@ def process(self, instance):
})
else:
data = exporter.generate_mov(**o_data)
generated_repres.extend(data["representations"])

self.log.info(data["representations"])
self.log.info(generated_repres)

# assign to representations
instance.data["representations"] += data["representations"]
if generated_repres:
# assign to representations
instance.data["representations"] += generated_repres

self.log.debug(
"_ representations: {}".format(
Expand Down

0 comments on commit 49de654

Please sign in to comment.