Blender Kitsu: Refactor Shot Builder #183
@ -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]]:
|
||||
|
Loading…
Reference in New Issue
Block a user