Blender Kitsu: Improve Init New Shot Workflow #302

Merged
Nick Alberelli merged 3 commits from TinyNick/blender-studio-pipeline:fix/init-shot-blender-kitsu into main 2024-05-29 17:27:59 +02:00
Showing only changes of commit 33ff32e672 - Show all commits

View File

@ -63,7 +63,7 @@ def is_linked(strip: bpy.types.Sequence, log: bool = True) -> bool:
def has_meta(strip: bpy.types.Sequence) -> bool: def has_meta(strip: bpy.types.Sequence) -> bool:
"""Returns True if strip.kitsu.shot_name and strip.kitsu.sequence_name is Truethy else False""" """Returns True if strip.kitsu.shot_name and strip.kitsu.sequence_name is Truethy else False"""
seq = strip.kitsu.sequence_name seq = strip.kitsu.sequence_name
shot = strip.kitsu.shot_name shot = strip.kitsu.manual_shot_name
if not bool(seq and shot): if not bool(seq and shot):
logger.info("Strip: %s. Missing metadata", strip.name) logger.info("Strip: %s. Missing metadata", strip.name)