[Bf-blender-cvs] [b455f80] hair_immediate_fixes: Unused leftover debug variable.

Lukas Tönne noreply at git.blender.org
Thu Nov 6 12:21:01 CET 2014


Commit: b455f803678da00251eeed4ac61e170eed5f9c63
Author: Lukas Tönne
Date:   Fri Oct 31 21:20:38 2014 +0100
Branches: hair_immediate_fixes
https://developer.blender.org/rBb455f803678da00251eeed4ac61e170eed5f9c63

Unused leftover debug variable.

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

M	source/blender/physics/intern/hair_volume.c

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

diff --git a/source/blender/physics/intern/hair_volume.c b/source/blender/physics/intern/hair_volume.c
index 988bf4b..f083cdf 100644
--- a/source/blender/physics/intern/hair_volume.c
+++ b/source/blender/physics/intern/hair_volume.c
@@ -545,7 +545,6 @@ bool BPH_hair_volume_get_texture_data(HairVertexGrid *grid, VoxelData *vd)
 					break;
 				
 				case TEX_VD_HAIRVELOCITY: {
-					float tmp = grid->verts[i].velocity[1];
 					vd->dataset[i + 0*totres] = grid->verts[i].velocity[0];
 					vd->dataset[i + 1*totres] = grid->verts[i].velocity[1];
 					vd->dataset[i + 2*totres] = grid->verts[i].velocity[2];




More information about the Bf-blender-cvs mailing list