[Bf-blender-cvs] [6c177d3] fluid-mantaflow: fixed missing sign from previous commit

Sebastián Barschkis noreply at git.blender.org
Sat Jun 11 18:21:28 CEST 2016


Commit: 6c177d3d3098da480bc4a5ab18a38db19cc754b0
Author: Sebastián Barschkis
Date:   Sat Jun 11 18:21:24 2016 +0200
Branches: fluid-mantaflow
https://developer.blender.org/rB6c177d3d3098da480bc4a5ab18a38db19cc754b0

fixed missing sign from previous commit

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

M	source/blender/blenkernel/intern/smoke.c

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

diff --git a/source/blender/blenkernel/intern/smoke.c b/source/blender/blenkernel/intern/smoke.c
index 7510abb..5e704b8 100644
--- a/source/blender/blenkernel/intern/smoke.c
+++ b/source/blender/blenkernel/intern/smoke.c
@@ -1565,7 +1565,7 @@ static void sample_derivedmesh(
 			BLI_bvhtree_ray_cast(treeData->tree, ray_start, ray_dir, 0.0f, &hit, treeData->raycast_callback, treeData);
 			
 			if (hit.index != -1) {
-				inflow_map[index] = 0.5; // Inside mesh
+				inflow_map[index] = -0.5; // Inside mesh
 			}
 		}
 	}




More information about the Bf-blender-cvs mailing list