diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-08-30 14:49:58 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-08-30 14:49:58 +0400 |
commit | b20c9b0ba368d5685d3c996572780befe852b889 (patch) | |
tree | 3431d53b89ef0332fcdb1a76293278041740c22e /source/blender/editors | |
parent | 6c9ee34dd8acba35808847d3669798c6d3459b9c (diff) |
minor edits, pep8 - also correct float -> double promotion for blf.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_nla/nla_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_nla/nla_edit.c b/source/blender/editors/space_nla/nla_edit.c index 1894a9fd651..08026e8a1d2 100644 --- a/source/blender/editors/space_nla/nla_edit.c +++ b/source/blender/editors/space_nla/nla_edit.c @@ -1858,7 +1858,7 @@ static int nlaedit_snap_exec (bContext *C, wmOperator *op) strip->start= (float)CFRA; break; case NLAEDIT_SNAP_NEAREST_FRAME: /* to nearest frame */ - strip->start= floorf(start+0.5); + strip->start= floorf(start+0.5f); break; case NLAEDIT_SNAP_NEAREST_SECOND: /* to nearest second */ strip->start= floorf(start/secf + 0.5f) * secf; |