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

Commit

Permalink
Hiero: fix only video track item with subtrack items
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubjezek001 committed Jun 2, 2021
1 parent b53e345 commit 2bb4733
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions openpype/hosts/hiero/otio/hiero_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,10 @@ def create_otio_clip(track_item):
create_otio_markers(otio_clip, track_item)
create_otio_markers(otio_clip, track_item.source())

# Add effects to clips
create_time_effects(otio_clip, track_item)
# only if video
if not clip.mediaSource().hasAudio():
# Add effects to clips
create_time_effects(otio_clip, track_item)

return otio_clip

Expand Down

0 comments on commit 2bb4733

Please sign in to comment.