bugfix [#24377] Bad frames drawn

This commit is contained in:
Campbell Barton 2010-10-25 13:37:49 +00:00
parent d327f08f9a
commit 0dde63c044

@ -1069,7 +1069,7 @@ static void step_to_grid(float *step, int *power, int unit)
/* for frames, we want 1.0 frame intervals only */
if (unit == V2D_UNIT_FRAMES) {
rem = 1.0f;
*step = 1.0f;
*step = 2.0f; /* use 2 since there are grid lines drawn inbetween, this way to get 1 line per frane */
}
/* prevents printing 1.0 2.0 3.0 etc */