[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47094] branches/smoke2/intern/smoke/ intern/FLUID_3D.cpp: Default border to the same as within blender: No boundaries
Daniel Genrich
daniel.genrich at gmx.net
Sun May 27 21:50:12 CEST 2012
Revision: 47094
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47094
Author: genscher
Date: 2012-05-27 19:50:12 +0000 (Sun, 27 May 2012)
Log Message:
-----------
Default border to the same as within blender: No boundaries
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-05-27 19:44:07 UTC (rev 47093)
+++ branches/smoke2/intern/smoke/intern/FLUID_3D.cpp 2012-05-27 19:50:12 UTC (rev 47094)
@@ -142,9 +142,9 @@
// boundary conditions of the fluid domain
// set default values -> vertically non-colliding
- _domainBcFront = true;
+ _domainBcFront = false;
_domainBcTop = false;
- _domainBcLeft = true;
+ _domainBcLeft = false;
_domainBcBack = _domainBcFront;
_domainBcBottom = _domainBcTop;
_domainBcRight = _domainBcLeft;
@@ -246,16 +246,6 @@
//////////////////////////////////////////////////////////////////////
void FLUID_3D::step(float dt)
{
-#if 0
- // If border rules have been changed
- if (_colloPrev != *_borderColli) {
- printf("Border collisions changed\n");
-
- // DG TODO: Need to check that no animated obstacle flags are overwritten
- setBorderCollisions();
- }
-#endif
-
// DG: TODO for the moment redo border for every timestep since it's been deleted every time by moving obstacles
setBorderCollisions();
More information about the Bf-blender-cvs
mailing list