diff options
author | Sebastián Barschkis <sebbas@sebbas.org> | 2020-01-16 00:06:43 +0300 |
---|---|---|
committer | Sebastián Barschkis <sebbas@sebbas.org> | 2020-01-16 00:07:06 +0300 |
commit | 689a873029b9554a60ee1198344a29cd2f567659 (patch) | |
tree | a4ea9652a59f2248fb619643fcfc51e4304e2cbc /source/blender/blenkernel/intern/fluid.c | |
parent | 848b28d71e18bd6ba569b1d38286faf784f07648 (diff) |
Fix T72860: Mantaflow Fluid Sim fails when simulation starts after frame 1
Diffstat (limited to 'source/blender/blenkernel/intern/fluid.c')
-rw-r--r-- | source/blender/blenkernel/intern/fluid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/fluid.c b/source/blender/blenkernel/intern/fluid.c index 1bd86f3c690..0213d10796a 100644 --- a/source/blender/blenkernel/intern/fluid.c +++ b/source/blender/blenkernel/intern/fluid.c @@ -2859,7 +2859,7 @@ static void update_flowsfluids(struct Depsgraph *depsgraph, color_b_in, phiout_in); } - else if (mfs->behavior == FLUID_FLOW_BEHAVIOR_GEOMETRY && mmd2->time > 2) { + else if (mfs->behavior == FLUID_FLOW_BEHAVIOR_GEOMETRY && !is_first_frame) { apply_inflow_fields(mfs, 0.0f, FLT_MAX, |