mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
nuke: adding comments and fixing condition
This commit is contained in:
parent
dc2da01f52
commit
53c95cd1ab
1 changed files with 7 additions and 1 deletions
|
|
@ -21,9 +21,15 @@ class ExtractReviewData(openpype.api.Extractor):
|
|||
|
||||
representations = instance.data.get("representations", [])
|
||||
|
||||
if "render.farm" in instance.data["families"]:
|
||||
# review can be removed since `ProcessSubmittedJobOnFarm` will create
|
||||
# reviable representation if needed
|
||||
if (
|
||||
"render.farm" in instance.data["families"]
|
||||
and "review" in instance.data["families"]
|
||||
):
|
||||
instance.data["families"].remove("review")
|
||||
|
||||
# iterate representations and add `review` tag
|
||||
for repre in representations:
|
||||
if ext != repre["ext"]:
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue