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:
authorSybren A. Stüvel <sybren@blender.org>2019-09-19 16:26:17 +0300
committerSybren A. Stüvel <sybren@blender.org>2019-09-19 16:26:17 +0300
commit3977854c706ba3312d0adaf915b267da2c7c8f17 (patch)
tree94186bbaaf56e3aa05517bc0d924352343e411a8 /source/blender/imbuf/intern/IMB_anim.h
parent71f2229b0d8241ba153abebcc1e0d0e92e877574 (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.h2
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;