diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-01-11 01:31:34 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-01-11 01:31:34 +0300 |
commit | ac4eb52abfafe1ca44dbaa1f20b356e272a3daf9 (patch) | |
tree | cbff57a36ea93e8e267351babde4c5f93e2bc94a /source/blender/editors/include/ED_markers.h | |
parent | cf25b10eb5bb61662ce0db6b3ef54a3e3e73a328 (diff) |
- 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.
Diffstat (limited to 'source/blender/editors/include/ED_markers.h')
-rw-r--r-- | source/blender/editors/include/ED_markers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_markers.h b/source/blender/editors/include/ED_markers.h index b32fc1a48ef..22c171128bd 100644 --- a/source/blender/editors/include/ED_markers.h +++ b/source/blender/editors/include/ED_markers.h @@ -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); |