[Bf-blender-cvs] [5de2fc2679] cloth-improvements: Use pre-solved locations for col response evaluation
Luca Rood
noreply at git.blender.org
Mon Jan 30 06:55:11 CET 2017
Commit: 5de2fc2679482b37d9e286dd99780d6cc3b37ed1
Author: Luca Rood
Date: Sun Jan 29 20:35:46 2017 -0200
Branches: cloth-improvements
https://developer.blender.org/rB5de2fc2679482b37d9e286dd99780d6cc3b37ed1
Use pre-solved locations for col response evaluation
===================================================================
M source/blender/blenkernel/intern/collision.c
===================================================================
diff --git a/source/blender/blenkernel/intern/collision.c b/source/blender/blenkernel/intern/collision.c
index 6f64d59ada..2283083185 100644
--- a/source/blender/blenkernel/intern/collision.c
+++ b/source/blender/blenkernel/intern/collision.c
@@ -252,9 +252,9 @@ static int cloth_collision_response_static (ClothModifierData *clmd, CollisionMo
/* compute barycentric coordinates for both collision points */
collision_compute_barycentric ( collpair->pa,
- cloth1->verts[collpair->ap1].txold,
- cloth1->verts[collpair->ap2].txold,
- cloth1->verts[collpair->ap3].txold,
+ cloth1->verts[collpair->ap1].tx,
+ cloth1->verts[collpair->ap2].tx,
+ cloth1->verts[collpair->ap3].tx,
&w1, &w2, &w3 );
/* was: txold */
More information about the Bf-blender-cvs
mailing list