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:
authorSebastián Barschkis <sebbas@sebbas.org>2020-07-02 17:30:05 +0300
committerSebastián Barschkis <sebbas@sebbas.org>2020-07-02 17:31:35 +0300
commitfb0f0f4d79a7cc89f31787615d25a98ca263bef5 (patch)
tree1d3582159b122a95363c259754af7fc92b9005f0 /source/blender/makesdna
parentf58f09c9a910614ef4d3b0ccf7cd7ee777053118 (diff)
Fluid: Added offset to control frame range
Added an offset field to control when to load the simulation files. Since this is a very small but helpful addition it is in my view safe to commit at this point of the bcon cycle.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_fluid_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_fluid_types.h b/source/blender/makesdna/DNA_fluid_types.h
index e3f4865e894..cb0b92c481c 100644
--- a/source/blender/makesdna/DNA_fluid_types.h
+++ b/source/blender/makesdna/DNA_fluid_types.h
@@ -580,6 +580,7 @@ typedef struct FluidDomainSettings {
int cache_frame_pause_mesh;
int cache_frame_pause_particles;
int cache_frame_pause_guide;
+ int cache_frame_offset;
int cache_flag;
char cache_mesh_format;
char cache_data_format;
@@ -589,7 +590,7 @@ typedef struct FluidDomainSettings {
char error[64]; /* Bake error description. */
short cache_type;
char cache_id[4]; /* Run-time only */
- char _pad8[6];
+ char _pad8[2];
/* Time options. */
float dt;