diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-01-19 22:01:48 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-01-19 22:01:48 +0300 |
commit | 4d0bb7de64bd4142e89a7410c3ea2686178048a3 (patch) | |
tree | 27a1b7389e1ff31211656caf902b74a8bbb9d98e /source/blender/blenkernel/intern/image.c | |
parent | efe1af3d11a930b539718cc566049f07316427ff (diff) | |
parent | 075def8fbda709e9db9086e9f2800a56103eb35d (diff) |
Merge remote-tracking branch 'origin/master' into blender2.8
Diffstat (limited to 'source/blender/blenkernel/intern/image.c')
-rw-r--r-- | source/blender/blenkernel/intern/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c index dbb596b1cd6..d720dc41abf 100644 --- a/source/blender/blenkernel/intern/image.c +++ b/source/blender/blenkernel/intern/image.c @@ -1696,7 +1696,7 @@ static void stampdata(Scene *scene, Object *camera, StampData *stamp_data, int d int digits = 1; if (scene->r.efra > 9) - digits = 1 + (int) log10(scene->r.efra); + digits = integer_digits_i(scene->r.efra); BLI_snprintf(fmtstr, sizeof(fmtstr), do_prefix ? "Frame %%0%di" : "%%0%di", digits); BLI_snprintf(stamp_data->frame, sizeof(stamp_data->frame), fmtstr, scene->r.cfra); |