[Bf-blender-cvs] [de9c1e02fcd] fluid-mantaflow: small fix for phi grid reset

Sebastián Barschkis noreply at git.blender.org
Sat May 27 22:54:02 CEST 2017


Commit: de9c1e02fcdd4d9bd9c38c07ee3e803efec77816
Author: Sebastián Barschkis
Date:   Thu Apr 20 16:09:56 2017 +0200
Branches: fluid-mantaflow
https://developer.blender.org/rBde9c1e02fcdd4d9bd9c38c07ee3e803efec77816

small fix for phi grid reset

===================================================================

M	intern/mantaflow/intern/strings/liquid_script.h

===================================================================

diff --git a/intern/mantaflow/intern/strings/liquid_script.h b/intern/mantaflow/intern/strings/liquid_script.h
index c1877a842d5..2a9977f57c5 100644
--- a/intern/mantaflow/intern/strings/liquid_script.h
+++ b/intern/mantaflow/intern/strings/liquid_script.h
@@ -143,7 +143,8 @@ def liquid_post_step_low_$ID$():\n\
     forces_s$ID$.clear()\n\
     obvel_s$ID$.clear()\n\
     \n\
-    phiObs_s$ID$.setConst(0.5)\n\
+    phiIn_s$ID$.setConst(9999)\n\
+    phiObs_s$ID$.setConst(9999)\n\
     \n\
     copyVec3ToReal(source=vel_s$ID$, targetX=x_vel_s$ID$, targetY=y_vel_s$ID$, targetZ=z_vel_s$ID$)\n";




More information about the Bf-blender-cvs mailing list