diff options
author | Sebastián Barschkis <sebbas@sebbas.org> | 2020-07-26 23:01:42 +0300 |
---|---|---|
committer | Sebastián Barschkis <sebbas@sebbas.org> | 2020-07-26 23:04:59 +0300 |
commit | e76f64a5329d0e4f095f1beb8a9ab7ea42c0937a (patch) | |
tree | ec644001a940f5ca94cf5551e4490e6b712fac2e /source/blender/makesdna/DNA_fluid_types.h | |
parent | c9cc5ad1c06b8a4b08749a5ba38ee0f1a546b0f5 (diff) |
Fluid: Added new option to control the maximum number fluid particles in the simulation
New option that lets users the define the maximum number of fluid particles that will be allowed in the simulation. This can come in handy, for example, to ensure that the particle count will not exceed the hardware capabilities, or to avoid excessive amounts of particles in a scene.
Diffstat (limited to 'source/blender/makesdna/DNA_fluid_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_fluid_types.h | 3 |
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 909170523a3..90440d9af8a 100644 --- a/source/blender/makesdna/DNA_fluid_types.h +++ b/source/blender/makesdna/DNA_fluid_types.h @@ -524,8 +524,9 @@ typedef struct FluidDomainSettings { float particle_band_width; float fractions_threshold; float flip_ratio; + int sys_particle_maximum; short simulation_method; - char _pad4[6]; + char _pad4[2]; /* Diffusion options. */ float surface_tension; |