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@stuvel.eu>2017-10-29 19:23:50 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2017-10-29 19:23:50 +0300
commit6099b2620d645f4129c42af2272cb6bd8538fc7a (patch)
tree942f71846fb8aa796c0a3d12faa27de167dcc344 /source/blender/makesdna/DNA_cachefile_types.h
parentbbc7eb8ae5386aae5aaa58df76f701bc7f0dddbf (diff)
Alembic: added frame offset property
The offset is subtracted, so that it's intuitive (dragging slider pushes the animation further that way on the timeline).
Diffstat (limited to 'source/blender/makesdna/DNA_cachefile_types.h')
-rw-r--r--source/blender/makesdna/DNA_cachefile_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_cachefile_types.h b/source/blender/makesdna/DNA_cachefile_types.h
index a353c94ae64..c0e662d8a48 100644
--- a/source/blender/makesdna/DNA_cachefile_types.h
+++ b/source/blender/makesdna/DNA_cachefile_types.h
@@ -75,9 +75,12 @@ typedef struct CacheFile {
float scale;
float frame; /* The frame/time to lookup in the cache file. */
+ float frame_offset; /* The frame offset to subtract. */
short flag; /* Animation flag. */
short draw_flag;
+
+ char padding[4];
} CacheFile;
#ifdef __cplusplus