Commit: 689a873029b9554a60ee1198344a29cd2f567659
Author: Sebastián Barschkis
Date: Wed Jan 15 22:06:43 2020 +0100
Branches: blender-v2.82-release
https://developer.blender.org/rB689a873029b9554a60ee1198344a29cd2f567659
Fix T72860: Mantaflow Fluid Sim fails when simulation starts after frame 1
===================================================================
M source/blender/blenkernel/intern/fluid.c
===================================================================
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,
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs