Page MenuHome

Add Center View to Cursor operator to Image and Clip editors
ClosedPublic

Authored by Alessio Monti di Sopra (a.monti) on Sep 28 2019, 5:53 PM.

Details

Summary

Design task: T70142 (sort of)

The patch adds two new operators, one for the Image editor and one for the Clip editor, that centre the view to the 2d cursor location.

  • The operators are added to the View menu of the editors and they only work if the 2d cursor is actually drawn.
  • An option is included for either keeping the same zoom factor or setting it to 100%

Diff Detail

Event Timeline

This revision is now accepted and ready to land.Oct 1 2019, 3:03 PM

Applied although removed the keep_zoom option (the 3D view operator doesn't do this)

Thank you!
Do you think it would be worth it to also add a reset cursor option to the view_all operator, as the original task proposed?

Yes, think we could support the same options.