Skip to content

Commit

Permalink
Update client/ayon_resolve/api/lib.py
Browse files Browse the repository at this point in the history
Co-authored-by: Roy Nieterau <[email protected]>
  • Loading branch information
jakubjezek001 and BigRoy authored Jul 18, 2024
1 parent 73f6155 commit 7c896a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/ayon_resolve/api/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,8 @@ def iter_all_media_pool_clips(root=None):
"""Recursively iterate all media pool clips in current project
Args:
root (resolve.Folder)[optional]: root folder / bin object
root (Optional[resolve.Folder]): root folder / bin object.
When None, defaults to media pool root folder.
"""
root = root or get_current_project().GetMediaPool().GetRootFolder()
queue = [root]
Expand Down

0 comments on commit 7c896a4

Please sign in to comment.