Blender Kitsu: Add Operator to Import Playblasts into Edit #274
@ -2360,9 +2360,9 @@ class KITSU_OT_shot_image_sequence(bpy.types.Operator):
|
|||||||
if not cache.project_active_get():
|
if not cache.project_active_get():
|
||||||
cls.poll_message_set("No Kitsu Project Found check Add-on Preferences")
|
cls.poll_message_set("No Kitsu Project Found check Add-on Preferences")
|
||||||
return False
|
return False
|
||||||
for sqe in context.selected_sequences:
|
for strip in context.selected_sequences:
|
||||||
if sqe.type != 'MOVIE':
|
if strip.kitsu.shot_id == "":
|
||||||
cls.poll_message_set("Selected strips must be 'MOVIE'")
|
cls.poll_message_set(f"Selected strip {strip.name} is not metadata strip'")
|
||||||
return False
|
return False
|
||||||
if len(bpy.context.selected_sequences) == 0:
|
if len(bpy.context.selected_sequences) == 0:
|
||||||
cls.poll_message_set("Please select a 'MOVIE' strip")
|
cls.poll_message_set("Please select a 'MOVIE' strip")
|
||||||
|
Loading…
Reference in New Issue
Block a user