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/mask
parent6213c6d69b43d11153fca69a50508c93c67dd05a (diff)
quiet float -> double conversion warnings and do some osl style edits.
Diffstat (limited to 'source/blender/editors/mask')
-rw-r--r--source/blender/editors/mask/mask_editaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mask/mask_editaction.c b/source/blender/editors/mask/mask_editaction.c
index 1d2cb1f9ff3..707622fa841 100644
--- a/source/blender/editors/mask/mask_editaction.c
+++ b/source/blender/editors/mask/mask_editaction.c
@@ -265,7 +265,7 @@ static short snap_masklayer_nearestsec(MaskLayerShape *masklay_shape, Scene *sce
{
float secf = (float)FPS;
if (masklay_shape->flag & MASK_SHAPE_SELECT)
- masklay_shape->frame = (int)(floor(masklay_shape->frame / secf + 0.5f) * secf);
+ masklay_shape->frame = (int)(floorf(masklay_shape->frame / secf + 0.5f) * secf);
return 0;
}