[Bf-blender-cvs] [59b56db1295] fluid-mantaflow: removed unused phi reset from obstacle update function

Sebastián Barschkis noreply at git.blender.org
Sun Mar 26 20:41:29 CEST 2017


Commit: 59b56db1295dd4141eaa325c2d7168696dcb376a
Author: Sebastián Barschkis
Date:   Tue Mar 21 15:08:04 2017 +0100
Branches: fluid-mantaflow
https://developer.blender.org/rB59b56db1295dd4141eaa325c2d7168696dcb376a

removed unused phi reset from obstacle update function

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

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

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

diff --git a/source/blender/blenkernel/intern/smoke.c b/source/blender/blenkernel/intern/smoke.c
index 4a588e81296..37fdfbfb917 100644
--- a/source/blender/blenkernel/intern/smoke.c
+++ b/source/blender/blenkernel/intern/smoke.c
@@ -1001,9 +1001,6 @@ static void update_obstacles(Scene *scene, Object *ob, SmokeDomainSettings *sds,
 	/* Resetting all grids related to moving obstacles */
 	for (z = 0; z < sds->res[0] * sds->res[1] * sds->res[2]; z++)
 	{
-		// TODO (sebbas): when and how reset liquid phi?
-//		if (phi)
-//			phi[z] = 0.5f;
 		if (phiObs)
 			phiObs[z] = 0.5f;
 		if (num_obstacles)




More information about the Bf-blender-cvs mailing list