- Local Markers are now taken into account correctly for operators

that used markers. I might've missed a few still, but at least a few
more cases will work now
- Accidentally broke keyframe selection on group channels in gpencil
commit, after misreading a call name.
This commit is contained in:
2011-01-10 22:31:34 +00:00
parent cf25b10eb5
commit ac4eb52abf
4 changed files with 59 additions and 35 deletions

View File

@@ -30,6 +30,7 @@
struct wmKeyConfig;
struct bContext;
struct bAnimContext;
struct TimeMarker;
/* Drawing API ------------------------------ */
@@ -44,6 +45,9 @@ void draw_markers_time(const struct bContext *C, int flag);
/* Backend API ----------------------------- */
ListBase *ED_context_get_markers(const struct bContext *C);
ListBase *ED_animcontext_get_markers(const struct bAnimContext *ac);
struct TimeMarker *ED_markers_find_nearest_marker(ListBase *markers, float x);
int ED_markers_find_nearest_marker_time(ListBase *markers, float x);