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>2017-10-23 14:27:21 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-10-23 14:29:49 +0300
commitcc96cdd9d49c6029e2abc62d81556e2f22480438 (patch)
tree78c3a4b9c526e15c93a38e46c13dded79e85afe5 /source/blender/editors/include
parent1aa5b63661a182957788cc8cbe6fa922ca376a6e (diff)
VSE: draw grid lines at every second
Was hard-coded to 25 frames. D2893 by @jooert
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/UI_view2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_view2d.h b/source/blender/editors/include/UI_view2d.h
index 4c0493a881c..f6e31e0bd22 100644
--- a/source/blender/editors/include/UI_view2d.h
+++ b/source/blender/editors/include/UI_view2d.h
@@ -169,7 +169,7 @@ void UI_view2d_view_restore(const struct bContext *C);
View2DGrid *UI_view2d_grid_calc(struct Scene *scene, struct View2D *v2d,
short xunits, short xclamp, short yunits, short yclamp, int winx, int winy);
void UI_view2d_grid_draw(struct View2D *v2d, View2DGrid *grid, int flag);
-void UI_view2d_constant_grid_draw(struct View2D *v2d);
+void UI_view2d_constant_grid_draw(struct View2D *v2d, float step);
void UI_view2d_multi_grid_draw(struct View2D *v2d, int colorid, float step, int level_size, int totlevels);
void UI_view2d_grid_size(View2DGrid *grid, float *r_dx, float *r_dy);
void UI_view2d_grid_free(View2DGrid *grid);