[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47784] branches/smoke2/intern/smoke/ intern/FLUID_3D.cpp: Remove debug output
Daniel Genrich
daniel.genrich at gmx.net
Tue Jun 12 13:35:48 CEST 2012
Revision: 47784
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47784
Author: genscher
Date: 2012-06-12 11:35:46 +0000 (Tue, 12 Jun 2012)
Log Message:
-----------
Remove debug output
Modified Paths:
--------------
branches/smoke2/intern/smoke/intern/FLUID_3D.cpp
Modified: branches/smoke2/intern/smoke/intern/FLUID_3D.cpp
===================================================================
--- branches/smoke2/intern/smoke/intern/FLUID_3D.cpp 2012-06-12 11:22:10 UTC (rev 47783)
+++ branches/smoke2/intern/smoke/intern/FLUID_3D.cpp 2012-06-12 11:35:46 UTC (rev 47784)
@@ -1011,14 +1011,7 @@
solvePressurePre(_pressure, _divergence, _obstacles);
#endif
- for(unsigned int i = 0; i < _xRes * _yRes * _zRes; i++)
{
- float value = (_pressure[i] - result[gti(i)]);
- if(value > 0.01)
- printf("error: p: %f, b: %f\n", _pressure[i], result[gti(i)]);
- }
-#if 0
- {
float maxvalue = 0;
for(unsigned int i = 0; i < _xRes * _yRes * _zRes; i++)
{
@@ -1039,7 +1032,7 @@
}
// printf("Max pressure: %f, dx: %f\n", maxvalue, _dx);
}
-#endif
+
// DG TODO: check this function, for now this is done in the next function
// setObstaclePressure(_pressure, 0, _zRes);
More information about the Bf-blender-cvs
mailing list