← All ideas
  • Published 1 Mar 2017

(VSE) Add a Center Button to Image Offset

Just a Little button that would appear if the "Image Offset" button is checked that would run something along the lines of:

seq = bpy.context.selected_editable_sequences[0]; seq.use_translation = True
seq.transform.offset_x = bpy.context.scene.render.resolution_x/2 - seq.strip_elem_from_frame(bpy.context.scene.frame_current).orig_width/2
seq.transform.offset_y = bpy.context.scene.render.resolution_y/2 - seq.strip_elem_from_frame(bpy.context.scene.frame_current).orig_height/2
100%

Development Status: Open

Upvote 1 Downvote 0
ben
1 Mar 2017

6 Comments

1
ChameleonScales

Great ! Thanks for sharing !

ChameleonScales

However I would rather use the FULLSCREEN_EXIT icon instead :

johnroper100

Fixed!

ChameleonScales

thanks !

jason

Looks to me like this is prime low-hanging fruit for an add-on.