Blender Kitsu: Refactor Shot Builder #183

Merged
Nick Alberelli merged 55 commits from TinyNick/blender-studio-pipeline:feature/shot-builder-2 into main 2023-12-21 23:58:21 +01:00
Showing only changes of commit 2ff886999c - Show all commits

View File

@ -269,6 +269,18 @@ def get_shots_enum_for_active_seq(
return _shot_enum_list
def get_shots_enum_for_seq(
self: bpy.types.Operator, context: bpy.types.Context, sequence: Sequence
) -> List[Tuple[str, str, str]]:
global _shot_enum_list
_shot_enum_list.clear()
_shot_enum_list.extend(
[(s.id, s.name, s.description or "") for s in sequence.get_all_shots()]
)
return _shot_enum_list
def get_assetypes_enum_list(
self: bpy.types.Operator, context: bpy.types.Context
) -> List[Tuple[str, str, str]]: