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.
This commit is contained in:
2020-07-02 16:30:05 +02:00
parent f58f09c9a9
commit fb0f0f4d79
4 changed files with 61 additions and 17 deletions

View File

@@ -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;