[Bf-blender-cvs] [fd09c48c3de] fluid-mantaflow: removed optional border velocities for obstacles

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


Commit: fd09c48c3de65b6eaeb73e973a6fb2ff2909b7b7
Author: Sebastián Barschkis
Date:   Sat May 27 22:41:13 2017 +0200
Branches: fluid-mantaflow
https://developer.blender.org/rBfd09c48c3de65b6eaeb73e973a6fb2ff2909b7b7

removed optional border velocities for obstacles

having just the velocities inside the obstacle seems sufficient for now (visually)

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

M	intern/mantaflow/intern/strings/shared_script.h

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

diff --git a/intern/mantaflow/intern/strings/shared_script.h b/intern/mantaflow/intern/strings/shared_script.h
index 77775df6a91..758a68f49b2 100644
--- a/intern/mantaflow/intern/strings/shared_script.h
+++ b/intern/mantaflow/intern/strings/shared_script.h
@@ -66,7 +66,7 @@ if dim_s$ID$ == 2:\n\
 doOpen_s$ID$              = $DO_OPEN$\n\
 boundConditions_s$ID$     = '$BOUNDCONDITIONS$'\n\
 boundaryWidth_s$ID$       = 1\n\
-obvelBorderWidth_s$ID$    = 2\n\
+obvelBorderWidth_s$ID$    = 0 # obvels inside are sufficient - not needed for now\n\
 \n\
 using_highres_s$ID$   = $USING_HIGHRES$\n\
 using_adaptTime_s$ID$ = $USING_ADAPTIVETIME$\n";




More information about the Bf-blender-cvs mailing list