diff options
author | Sebastián Barschkis <sebbas@sebbas.org> | 2020-01-20 01:41:02 +0300 |
---|---|---|
committer | Sebastián Barschkis <sebbas@sebbas.org> | 2020-01-20 01:44:56 +0300 |
commit | c7596cd820e32747372378a511cd95894c4829e3 (patch) | |
tree | 61461cc22944cb5e0af4f673160003db9b622347 /intern/mantaflow/extern | |
parent | d1657b406ed0f3df9e1690cd445702c6178ffd15 (diff) |
Fluid: Improved cache file loading
Cache file loading for mesh and particle files now works through the direct update_structures functions. The final cache mode now also only bakes the most essential files and is therefore not resumable anymore.
Diffstat (limited to 'intern/mantaflow/extern')
-rw-r--r-- | intern/mantaflow/extern/manta_fluid_API.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/mantaflow/extern/manta_fluid_API.h b/intern/mantaflow/extern/manta_fluid_API.h index 691a98f9063..8dc2cf1805a 100644 --- a/intern/mantaflow/extern/manta_fluid_API.h +++ b/intern/mantaflow/extern/manta_fluid_API.h @@ -218,6 +218,9 @@ float manta_liquid_get_snd_particle_position_z_at(struct MANTA *liquid, int i); float manta_liquid_get_snd_particle_velocity_x_at(struct MANTA *liquid, int i); float manta_liquid_get_snd_particle_velocity_y_at(struct MANTA *liquid, int i); float manta_liquid_get_snd_particle_velocity_z_at(struct MANTA *liquid, int i); +bool manta_liquid_flip_from_file(struct MANTA *liquid); +bool manta_liquid_mesh_from_file(struct MANTA *liquid); +bool manta_liquid_particle_from_file(struct MANTA *liquid); #ifdef __cplusplus } |