[Bf-blender-cvs] [022d64008ec] fracture_modifier: small transform fix for animated mesh binding

Martin Felke noreply at git.blender.org
Mon Jan 15 16:55:52 CET 2018


Commit: 022d64008ec194751acc28c0586d978567946bbe
Author: Martin Felke
Date:   Mon Jan 15 16:55:29 2018 +0100
Branches: fracture_modifier
https://developer.blender.org/rB022d64008ec194751acc28c0586d978567946bbe

small transform fix for animated mesh binding

===================================================================

M	source/blender/blenkernel/intern/fracture.c

===================================================================

diff --git a/source/blender/blenkernel/intern/fracture.c b/source/blender/blenkernel/intern/fracture.c
index 8e0c022ecd3..189ee99fb57 100644
--- a/source/blender/blenkernel/intern/fracture.c
+++ b/source/blender/blenkernel/intern/fracture.c
@@ -3941,8 +3941,8 @@ void BKE_read_animated_loc_rot(FractureModifierData *fmd, Object *ob, bool do_bi
 
 			n = MEM_mallocN(sizeof(KDTreeNearest) * count, "nearest");
 			copy_v3_v3(co, mvert[i].co);
-			//mul_m4_v3(fmd->anim_mesh_ob->obmat, co);
-			mul_m4_v3(ob->obmat, co);
+			mul_m4_v3(fmd->anim_mesh_ob->obmat, co);
+			//mul_m4_v3(ob->obmat, co);
 			r = BLI_kdtree_find_nearest_n(tree, co, n, count);
 			bc = 0;
 			for (j = 0; j < r; j++)



More information about the Bf-blender-cvs mailing list