svn merge ^/trunk/blender -r43864:43887
[blender-staging.git] / source / blender / editors / transform / transform.c
index debc17137f409fc5457c4095eac0514b9b4c6f40..f20532c80bdcfe7034c32e127585033f276cd2ec 100644 (file)
@@ -5458,9 +5458,9 @@ static void headerTimeTranslate(TransInfo *t, char *str)
                /* apply snapping + frame->seconds conversions */
                if (autosnap == SACTSNAP_STEP) {
                        if (doTime)
-                               val= floor((double)val/secf + 0.5f);
+                               val= floorf((double)val/secf + 0.5f);
                        else
-                               val= floor(val + 0.5f);
+                               val= floorf(val + 0.5f);
                }
                else {
                        if (doTime)