diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-05-19 23:16:47 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-05-20 11:49:29 +0400 |
commit | 358664a28a526750fa61c6342cd8860d69398f66 (patch) | |
tree | 67ecc07360942ee03922007246ac84ab38e257fd /source/blender/blenkernel/intern/implicit.c | |
parent | 21915907114c4dcc5ebc286493331170ac62c2df (diff) |
Use int for i in hair smoothing function, we check against negative
values below
Diffstat (limited to 'source/blender/blenkernel/intern/implicit.c')
-rw-r--r-- | source/blender/blenkernel/intern/implicit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/implicit.c b/source/blender/blenkernel/intern/implicit.c index e28fb59cfe6..6682b1a9b2d 100644 --- a/source/blender/blenkernel/intern/implicit.c +++ b/source/blender/blenkernel/intern/implicit.c @@ -1432,7 +1432,7 @@ static void hair_velocity_smoothing(ClothModifierData *clmd, lfVector *lF, lfVec float smoothfac = 2.0f * clmd->sim_parms->velocity_smooth; float collfac = 2.0f * clmd->sim_parms->collider_friction; unsigned int v = 0; - unsigned int i = 0; + int i = 0; int j = 0; int k = 0; |