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>2012-12-03 17:58:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-12-03 17:58:08 +0400
commit4a9c522125df9321c8337eaaf1933f540140d023 (patch)
tree2000ce4c3251829a420724b8b9e4d382b0d8998c /source/blender/editors/gpencil/editaction_gpencil.c
parent6213c6d69b43d11153fca69a50508c93c67dd05a (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.c2
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;
}