Fix T72860: Mantaflow Fluid Sim fails when simulation starts after frame 1
This commit is contained in:
parent
848b28d71e
commit
689a873029
Notes:
blender-bot
2023-02-13 23:48:47 +01:00
Referenced by issue #72860, Mantaflow Fluid Sim fails when simulation starts after frame 1
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue