Blender Kitsu: fix episode's sequence creation #202

Merged
Nick Alberelli merged 2 commits from slumber/blender-studio-pipeline:fix-episode-sequence-creation into main 2024-01-16 17:41:37 +01:00
Showing only changes of commit 7adb9acd84 - Show all commits

View File

@ -319,7 +319,7 @@ class Project(Entity):
] ]
return sorted(sequences, key=lambda x: x.name) return sorted(sequences, key=lambda x: x.name)
def create_sequence(self, sequence_name: str, episode_id: Optional[Episode] = None) -> Sequence: def create_sequence(self, sequence_name: str, episode_id: Optional[str] = None) -> Sequence:
# This function returns a seq dict even if seq already exists, it does not override. # This function returns a seq dict even if seq already exists, it does not override.
seq_dict = gazu.shot.new_sequence( seq_dict = gazu.shot.new_sequence(
asdict(self), asdict(self),