UI: Center ID Blocks in Clip Editor
See T55635
This commit is contained in:
@@ -58,17 +58,19 @@ class CLIP_HT_header(Header):
|
||||
sc = context.space_data
|
||||
clip = sc.clip
|
||||
|
||||
CLIP_MT_tracking_editor_menus.draw_collapsible(context, layout)
|
||||
|
||||
layout.separator_spacer()
|
||||
|
||||
row = layout.row()
|
||||
row.template_ID(sc, "clip", open="clip.open")
|
||||
|
||||
CLIP_MT_tracking_editor_menus.draw_collapsible(context, layout)
|
||||
layout.separator_spacer()
|
||||
|
||||
if clip:
|
||||
tracking = clip.tracking
|
||||
active_object = tracking.objects.active
|
||||
|
||||
layout.separator_spacer()
|
||||
|
||||
if sc.view == 'CLIP':
|
||||
layout.prop(sc, "pivot_point", text="", icon_only=True)
|
||||
|
||||
@@ -118,9 +120,13 @@ class CLIP_HT_header(Header):
|
||||
|
||||
CLIP_MT_masking_editor_menus.draw_collapsible(context, layout)
|
||||
|
||||
layout.separator_spacer()
|
||||
|
||||
row = layout.row()
|
||||
row.template_ID(sc, "clip", open="clip.open")
|
||||
|
||||
layout.separator_spacer()
|
||||
|
||||
if clip:
|
||||
row = layout.row()
|
||||
row.template_ID(sc, "mask", new="mask.new")
|
||||
|
||||
Reference in New Issue
Block a user