diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2019-09-19 16:26:17 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2019-09-19 16:26:17 +0300 |
commit | 3977854c706ba3312d0adaf915b267da2c7c8f17 (patch) | |
tree | 94186bbaaf56e3aa05517bc0d924352343e411a8 /source/blender/imbuf/intern/IMB_anim.h | |
parent | 71f2229b0d8241ba153abebcc1e0d0e92e877574 (diff) |
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.
Diffstat (limited to 'source/blender/imbuf/intern/IMB_anim.h')
-rw-r--r-- | source/blender/imbuf/intern/IMB_anim.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |