From 3977854c706ba3312d0adaf915b267da2c7c8f17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 19 Sep 2019 15:26:17 +0200 Subject: Cleanup: rename anim::duration to anim::duration_in_frames Units should be explicit, and not left to be guessed by the reader. The field is only used in a single C file, so it's a relatively low-risk change. --- source/blender/imbuf/intern/IMB_anim.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/imbuf/intern/IMB_anim.h') diff --git a/source/blender/imbuf/intern/IMB_anim.h b/source/blender/imbuf/intern/IMB_anim.h index 065c7e64d07..9ad88f24693 100644 --- a/source/blender/imbuf/intern/IMB_anim.h +++ b/source/blender/imbuf/intern/IMB_anim.h @@ -89,7 +89,7 @@ struct anim { int ib_flags; int curtype; int curposition; /* index 0 = 1e, 1 = 2e, enz. */ - int duration; + int duration_in_frames; int frs_sec; double frs_sec_base; int x, y; -- cgit v1.2.3