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:
authorLukas Tönne <lukas.toenne@gmail.com>2015-01-21 12:07:11 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-01-21 12:07:11 +0300
commit47bf0934f5743d14024ef693b2bfe4510c2c666a (patch)
tree0e43269c789c7b6fb0cc31904a94f036f948ca3e /source/blender/physics/intern/hair_volume.cpp
parent4422ecbb960e88c1b63ebaa325d5d44d052d095f (diff)
Removed generic debug1..4 values from the cloth data.
These were used as UI buttons during development. If such parameters are needed again later they should instead be added in the (now global) SimDebugData and made accessible with a dev addon or so.
Diffstat (limited to 'source/blender/physics/intern/hair_volume.cpp')
-rw-r--r--source/blender/physics/intern/hair_volume.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/source/blender/physics/intern/hair_volume.cpp b/source/blender/physics/intern/hair_volume.cpp
index 3e98d3b60c3..b07af1d201c 100644
--- a/source/blender/physics/intern/hair_volume.cpp
+++ b/source/blender/physics/intern/hair_volume.cpp
@@ -91,9 +91,6 @@ typedef struct HairGrid {
int res[3];
float gmin[3], gmax[3];
float cellsize, inv_cellsize;
-
- float debug1, debug2;
- int debug3, debug4;
} HairGrid;
#define HAIR_GRID_INDEX_AXIS(vec, res, gmin, scale, axis) ( min_ii( max_ii( (int)((vec[axis] - gmin[axis]) * scale), 0), res[axis]-2 ) )
@@ -1023,14 +1020,6 @@ void BPH_hair_volume_free_vertex_grid(HairGrid *grid)
}
}
-void BPH_hair_volume_set_debug_value(HairGrid *grid, float debug1, float debug2, int debug3, int debug4)
-{
- grid->debug1 = debug1;
- grid->debug2 = debug2;
- grid->debug3 = debug3;
- grid->debug4 = debug4;
-}
-
void BPH_hair_volume_grid_geometry(HairGrid *grid, float *cellsize, int res[3], float gmin[3], float gmax[3])
{
if (cellsize) *cellsize = grid->cellsize;