Storypencil: Cleanup comments

This commit is contained in:
Antonio Vazquez 2023-01-25 18:26:32 +01:00
parent 05dbf9195f
commit 39cadb50aa
1 changed files with 2 additions and 0 deletions

View File

@ -821,6 +821,8 @@ class STORYPENCIL_OT_TabSwitch(Operator):
# Get strip under time cursor
strip, old_frame = get_sequence_at_frame(
scene.frame_current, sequences=sequences)
# For meta strips the tab key must be processed by other operator, so
# just pass through to the next operator in the stack.
if strip is None or strip.type != 'SCENE':
if context.active_sequence_strip and context.active_sequence_strip.type == 'META':
return {'PASS_THROUGH'}