diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-03 17:58:08 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-03 17:58:08 +0400 |
commit | 4a9c522125df9321c8337eaaf1933f540140d023 (patch) | |
tree | 2000ce4c3251829a420724b8b9e4d382b0d8998c /source/blender/editors/gpencil/editaction_gpencil.c | |
parent | 6213c6d69b43d11153fca69a50508c93c67dd05a (diff) |
quiet float -> double conversion warnings and do some osl style edits.
Diffstat (limited to 'source/blender/editors/gpencil/editaction_gpencil.c')
-rw-r--r-- | source/blender/editors/gpencil/editaction_gpencil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/editaction_gpencil.c b/source/blender/editors/gpencil/editaction_gpencil.c index 137ef50be3c..aee97f40c31 100644 --- a/source/blender/editors/gpencil/editaction_gpencil.c +++ b/source/blender/editors/gpencil/editaction_gpencil.c @@ -477,7 +477,7 @@ static short snap_gpf_nearestsec(bGPDframe *gpf, Scene *scene) { float secf = (float)FPS; if (gpf->flag & GP_FRAME_SELECT) - gpf->framenum = (int)(floor(gpf->framenum / secf + 0.5f) * secf); + gpf->framenum = (int)(floorf(gpf->framenum / secf + 0.5f) * secf); return 0; } |