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-19 21:14:25 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-01-20 11:30:05 +0300
commit4381fa3157f29167adc60921e67c8557971b487d (patch)
tree998e9374b2832c3a93a95bdee83eb7ca7aa535e5 /source/blender/physics/intern/BPH_mass_spring.cpp
parent4ff68d031d3a22e13125f3eadaf18808da52a99a (diff)
Minor fix for lost variable declaration during cherry-picking.
Diffstat (limited to 'source/blender/physics/intern/BPH_mass_spring.cpp')
-rw-r--r--source/blender/physics/intern/BPH_mass_spring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/physics/intern/BPH_mass_spring.cpp b/source/blender/physics/intern/BPH_mass_spring.cpp
index 7df58e0ff33..153993dc9b8 100644
--- a/source/blender/physics/intern/BPH_mass_spring.cpp
+++ b/source/blender/physics/intern/BPH_mass_spring.cpp
@@ -116,7 +116,6 @@ void BKE_cloth_solver_set_positions(ClothModifierData *clmd)
unsigned int numverts = cloth->numverts, i;
ClothHairRoot *cloth_roots = clmd->roots;
Implicit_Data *id = cloth->implicit;
- const float ZERO[3] = {0.0f, 0.0f, 0.0f};
for (i = 0; i < numverts; i++) {
ClothHairRoot *root = &cloth_roots[i];
@@ -512,6 +511,7 @@ static void cloth_calc_force(ClothModifierData *clmd, float UNUSED(frame), ListB
float gravity[3] = {0.0f, 0.0f, 0.0f};
MFace *mfaces = cloth->mfaces;
unsigned int numverts = cloth->numverts;
+ ClothVertex *vert;
#ifdef CLOTH_FORCE_GRAVITY
/* global acceleration (gravitation) */