Storypencil: Fix switch error when there are no scene strips
If there was a non scene strip, the switch was not working.
This commit is contained in:
parent
042c799b7a
commit
f1c82b13ee
|
@ -339,7 +339,8 @@ def get_sequences_at_frame(
|
|||
:param frame: the frame to consider
|
||||
"""
|
||||
return [s for s in sequences if frame >= s.frame_start + s.frame_offset_start and
|
||||
frame < s.frame_start + s.frame_offset_start + s.frame_final_duration]
|
||||
frame < s.frame_start + s.frame_offset_start + s.frame_final_duration and
|
||||
s.type == 'SCENE']
|
||||
|
||||
|
||||
def get_sequence_at_frame(
|
||||
|
|
Loading…
Reference in New Issue