Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Genrich <daniel.genrich@gmx.net>2009-08-12 21:39:38 +0400
committerDaniel Genrich <daniel.genrich@gmx.net>2009-08-12 21:39:38 +0400
commit15e617f2a9f3cd7047db57b6f0dfa2f9abd76879 (patch)
tree898e0752974a27b071984f2b2a8093ad21b281b7 /intern/smoke
parentbba9c797b542a94d2ae1830135c77b8f56825f32 (diff)
Smoke: accidentally left some old code in
Diffstat (limited to 'intern/smoke')
-rw-r--r--intern/smoke/intern/FLUID_3D.cpp5
-rw-r--r--intern/smoke/intern/FLUID_3D.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/intern/smoke/intern/FLUID_3D.cpp b/intern/smoke/intern/FLUID_3D.cpp
index 8f72b1da536..ff66f29143c 100644
--- a/intern/smoke/intern/FLUID_3D.cpp
+++ b/intern/smoke/intern/FLUID_3D.cpp
@@ -101,9 +101,6 @@ FLUID_3D::FLUID_3D(int *res, float *p0, float dt) :
_h = new float[_totalCells];
_Precond = new float[_totalCells];
- _spectrum = new unsigned char[256*4*16*16];
-
-
// DG TODO: check if alloc went fine
for (int x = 0; x < _totalCells; x++)
@@ -207,8 +204,6 @@ FLUID_3D::~FLUID_3D()
if (_obstacles) delete[] _obstacles;
// if (_wTurbulence) delete _wTurbulence;
- if(_spectrum) delete[] _spectrum;
-
printf("deleted fluid\n");
}
diff --git a/intern/smoke/intern/FLUID_3D.h b/intern/smoke/intern/FLUID_3D.h
index f228abc05a9..78a4cf076e3 100644
--- a/intern/smoke/intern/FLUID_3D.h
+++ b/intern/smoke/intern/FLUID_3D.h
@@ -99,7 +99,6 @@ class FLUID_3D
float* _h;
float* _Precond;
unsigned char* _obstacles;
- unsigned char *_spectrum;
// CG fields
float* _residual;