mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Hiero: fix only video track item with subtrack items
This commit is contained in:
parent
b53e345486
commit
2bb4733809
1 changed files with 4 additions and 2 deletions
|
|
@ -294,8 +294,10 @@ def create_otio_clip(track_item):
|
||||||
create_otio_markers(otio_clip, track_item)
|
create_otio_markers(otio_clip, track_item)
|
||||||
create_otio_markers(otio_clip, track_item.source())
|
create_otio_markers(otio_clip, track_item.source())
|
||||||
|
|
||||||
# Add effects to clips
|
# only if video
|
||||||
create_time_effects(otio_clip, track_item)
|
if not clip.mediaSource().hasAudio():
|
||||||
|
# Add effects to clips
|
||||||
|
create_time_effects(otio_clip, track_item)
|
||||||
|
|
||||||
return otio_clip
|
return otio_clip
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue