diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2014-09-15 19:41:53 +0400 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-20 11:30:01 +0300 |
commit | 6623395638c3b43598adc2b12d2ca27f038f67ab (patch) | |
tree | 4d7b7287c41fc550a081857cd48a0b412197c475 /source | |
parent | 58e33ab2798f4d0e997fce0283542dabd0f86c67 (diff) |
Minor fix when gravity code is disabled.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/physics/intern/BPH_mass_spring.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/physics/intern/BPH_mass_spring.cpp b/source/blender/physics/intern/BPH_mass_spring.cpp index 974fe67011c..1c45e1ed1f8 100644 --- a/source/blender/physics/intern/BPH_mass_spring.cpp +++ b/source/blender/physics/intern/BPH_mass_spring.cpp @@ -407,8 +407,6 @@ static void cloth_calc_force(ClothModifierData *clmd, float UNUSED(frame), ListB mul_v3_v3fl(gravity, clmd->scene->physics_settings.gravity, 0.001f * clmd->sim_parms->effector_weights->global_gravity); } BPH_mass_spring_force_gravity(data, gravity); -#else - zero_lfvector(lF, numverts); #endif // XXX TODO |