mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
flame: enhancing code of api lib
This commit is contained in:
parent
9e70f67f47
commit
32ceb9e9a9
1 changed files with 3 additions and 1 deletions
|
|
@ -448,6 +448,8 @@ def get_sequence_segments(sequence, selected=False):
|
|||
for segment in track.segments:
|
||||
if segment.name.get_value() == "":
|
||||
continue
|
||||
if segment.hidden:
|
||||
continue
|
||||
if (
|
||||
selected is True
|
||||
and segment.selected.get_value() is not True
|
||||
|
|
@ -522,7 +524,7 @@ def _get_shot_tokens_values(clip, tokens):
|
|||
|
||||
|
||||
def get_segment_attributes(segment):
|
||||
if str(segment.name)[1:-1] == "":
|
||||
if segment.name.get_value() == "":
|
||||
return None
|
||||
|
||||
# Add timeline segment to tree
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue