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-01-20 18:17:02 +0300
committerSebastián Barschkis <sebbas@sebbas.org>2020-01-20 18:17:16 +0300
commit4dbaee02937e887b28696339da2d3ad4840966b1 (patch)
tree8177b5ab71d87b977d132bec3238085e1d23edc2
parentdae033801b8c98bcac5a09ba3bf77868b7204540 (diff)
Fluid: Fix for liquid domains in cache replay mode
Added missing check that prevented bake from being executed correctly.
-rw-r--r--source/blender/blenkernel/intern/fluid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/fluid.c b/source/blender/blenkernel/intern/fluid.c
index 8acc2df4aea..1b483960c91 100644
--- a/source/blender/blenkernel/intern/fluid.c
+++ b/source/blender/blenkernel/intern/fluid.c
@@ -3719,7 +3719,7 @@ static void BKE_fluid_modifier_processDomain(FluidModifierData *mmd,
has_data = manta_read_data(mds->fluid, mmd, data_frame);
}
if (with_liquid) {
- if (!baking_data && !baking_particles && !baking_mesh) {
+ if (!baking_data && !baking_particles && !baking_mesh && !mode_replay) {
has_data = manta_update_liquid_structures(mds->fluid, mmd, data_frame);
}
else {