Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2011-01-11 01:31:34 +0300
committerJoshua Leung <aligorith@gmail.com>2011-01-11 01:31:34 +0300
commitac4eb52abfafe1ca44dbaa1f20b356e272a3daf9 (patch)
treecbff57a36ea93e8e267351babde4c5f93e2bc94a /source/blender/editors/include/ED_markers.h
parentcf25b10eb5bb61662ce0db6b3ef54a3e3e73a328 (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.h4
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);