Blender Kitsu: Use new Kitsu Context UI in Multi Edit / Metadata #280

Merged
Nick Alberelli merged 11 commits from TinyNick/blender-studio-pipeline:fix/blender-kitsu-multi-edit into main 2024-04-08 17:51:04 +02:00
Showing only changes of commit e1ed5005c6 - Show all commits

View File

@ -300,17 +300,13 @@ class KITSU_PT_sqe_shot_tools(bpy.types.Panel):
if not strip.kitsu.sequence_id: if not strip.kitsu.sequence_id:
sub_row = split.row(align=True) sub_row = split.row(align=True)
sub_row.prop(strip.kitsu, "sequence_name_display", text="") sub_row.prop(strip.kitsu, "sequence_name", text="")
sub_row.operator(KITSU_OT_sqe_link_sequence.bl_idname, text="", icon="DOWNARROW_HLT")
sub_row.operator(KITSU_OT_sqe_push_new_sequence.bl_idname, text="", icon="ADD") sub_row.operator(KITSU_OT_sqe_push_new_sequence.bl_idname, text="", icon="ADD")
else: else:
# Lots of splitting because color prop is too big by default # Lots of splitting because color prop is too big by default
sub_split = split.split(factor=0.6, align=True) sub_split = split.split(factor=0.8, align=True)
sub_split.prop(strip.kitsu, "sequence_name_display", text="") sub_split.prop(strip.kitsu, "sequence_name", text="") # TODO Use new dropdown here too
sub_split = sub_split.split(factor=0.3, align=True)
sub_split.operator(KITSU_OT_sqe_link_sequence.bl_idname, text="", icon="DOWNARROW_HLT")
sub_sub_split = sub_split.split(factor=0.4, align=True) sub_sub_split = sub_split.split(factor=0.4, align=True)
sub_sub_split.operator(KITSU_OT_sqe_push_new_sequence.bl_idname, text="", icon="ADD") sub_sub_split.operator(KITSU_OT_sqe_push_new_sequence.bl_idname, text="", icon="ADD")