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-03-02 13:46:10 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-03-02 13:47:42 +0300
commit4c723eb80e299eb6ca11ad72b5fcbe8746c4a854 (patch)
tree2163bab9d6237409baec8571afcf0ac0eae69b5a /source/blender/physics/intern/implicit.h
parent1adfa36f88aa3c1273537e1566e166c8401d63e5 (diff)
Reshuffle applying of solver results a bit to ensure it works exactly
as complicated as before cloth solver changes. Still doesn't solve the collapsing cloth cube issue mentioned in T43406, probably the bending springs work somewhat differently now.
Diffstat (limited to 'source/blender/physics/intern/implicit.h')
-rw-r--r--source/blender/physics/intern/implicit.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/physics/intern/implicit.h b/source/blender/physics/intern/implicit.h
index d286d3df1a5..3f890e55d5e 100644
--- a/source/blender/physics/intern/implicit.h
+++ b/source/blender/physics/intern/implicit.h
@@ -95,7 +95,8 @@ void BPH_mass_spring_add_constraint_ndof2(struct Implicit_Data *data, int index,
bool BPH_mass_spring_solve_velocities(struct Implicit_Data *data, float dt, struct ImplicitSolverResult *result);
bool BPH_mass_spring_solve_positions(struct Implicit_Data *data, float dt);
-void BPH_mass_spring_apply_result(struct Implicit_Data *data);
+void BPH_mass_spring_apply_velocities(struct Implicit_Data *data);
+void BPH_mass_spring_apply_positions(struct Implicit_Data *data);
/* Clear the force vector at the beginning of the time step */
void BPH_mass_spring_clear_forces(struct Implicit_Data *data);