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:
authorCampbell Barton <ideasman42@gmail.com>2018-04-24 20:28:53 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-04-24 20:28:53 +0300
commitd6e7ec6253acc1d271b74b96f0bc7f12f1f91fff (patch)
tree66b110890cc26ffffd9f743a3dcfae4abfdfdec5 /source/blender/editors/animation/anim_markers.c
parentb05fd95f8aaf3eecb88dbb87744fec7bda30fa1f (diff)
Cleanup: unused var
Diffstat (limited to 'source/blender/editors/animation/anim_markers.c')
-rw-r--r--source/blender/editors/animation/anim_markers.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/animation/anim_markers.c b/source/blender/editors/animation/anim_markers.c
index 5d29b48aad6..091346921dc 100644
--- a/source/blender/editors/animation/anim_markers.c
+++ b/source/blender/editors/animation/anim_markers.c
@@ -336,7 +336,7 @@ void debug_markers_print_list(ListBase *markers)
/* ************* Marker Drawing ************ */
static void draw_marker_name(
- View2D *v2d, const uiFontStyle *fstyle, TimeMarker *marker, const char *name,
+ const uiFontStyle *fstyle, TimeMarker *marker, const char *name,
int cfra, const float xpos, const float ypixels)
{
unsigned char text_col[4];
@@ -447,14 +447,14 @@ static void draw_marker(
/* and the marker name too, shifted slightly to the top-right */
#ifdef DURIAN_CAMERA_SWITCH
if (marker->camera) {
- draw_marker_name(v2d, fstyle, marker, marker->camera->id.name + 2, cfra, xpos, ypixels);
+ draw_marker_name(fstyle, marker, marker->camera->id.name + 2, cfra, xpos, ypixels);
}
else if (marker->name[0]) {
- draw_marker_name(v2d, fstyle, marker, marker->name, cfra, xpos, ypixels);
+ draw_marker_name(fstyle, marker, marker->name, cfra, xpos, ypixels);
}
#else
if (marker->name[0]) {
- draw_marker_name(v2d, fstyle, marker, marker->name, cfra, xpos, ypixels);
+ draw_marker_name(fstyle, marker, marker->name, cfra, xpos, ypixels);
}
#endif