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:
authorAntony Riakiotakis <kalast@gmail.com>2014-05-19 23:16:47 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-05-20 11:49:29 +0400
commit358664a28a526750fa61c6342cd8860d69398f66 (patch)
tree67ecc07360942ee03922007246ac84ab38e257fd /source/blender/blenkernel
parent21915907114c4dcc5ebc286493331170ac62c2df (diff)
Use int for i in hair smoothing function, we check against negative
values below
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/implicit.c2
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;