Page MenuHome

Draw Handlers: no POST_VIEW callback for e.g. Timeline space, only POST_PIXEL
Closed, ResolvedPublic

Description

UV editor calls both, so why don't other editors do the same? Especially for the timeline it would be important, since there's no other way to find out the scroll position and zoom, thus it's impossible to overlay anything aligned to the frame steps.

http://blenderartists.org/forum/showthread.php?283148-Draw-over-a-timeline-region-in-respect-to-its-frame-numbers

Event Timeline

codemanx edited a custom field.Apr 10 2013, 2:22 AM

Fix in svn, thanks for the report.

The following editors now support PRE_VIEW and POST_VIEW: timeline, graph, action, NLA, sequencer, image, clip, 3d view.

Brecht Van Lommel (brecht) changed the task status from Unknown Status to Resolved.Apr 10 2013, 6:59 PM

Wow, thanks for this quick fix, which was kind of a feature request! Scripters will much appreciate the callbacks for the timeline in particular, allowing all kinds of useful overlays!

Amazing! Thanks both of you for picking this up.

Best,
Thomas