Skip to content

Commit

Permalink
Merge pull request #38 from ynput/bugfix/fix_clip_media_review
Browse files Browse the repository at this point in the history
AY-7242_Fix clip_media review source from Hiero.
  • Loading branch information
jakubjezek001 authored Dec 5, 2024
2 parents c6d73f4 + cf00668 commit 73e2461
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions client/ayon_hiero/plugins/publish/collect_plates.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,13 @@ def process(self, instance):
if review_switch is True:
if reviewable_source == "clip_media":
instance.data["families"].append("review")
instance.data.pop("reviewTrack", None)
else:
instance.data["reviewTrack"] = reviewable_source

# remove review keys from instance data
instance.data.pop("reviewableSource", None)
instance.data.pop("review", None)
# remove creator-specific review keys from instance data
instance.data.pop("reviewableSource", None)
instance.data.pop("review", None)

# Retrieve instance data from parent instance shot instance.
parent_instance_id = instance.data["parent_instance_id"]
Expand Down

0 comments on commit 73e2461

Please sign in to comment.