Revision: 14692 http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14692 Author: sirdude Date: 2008-05-05 19:26:33 +0200 (Mon, 05 May 2008)
Log Message: ----------- fix for bad indexing found by Cyril Brulebois Its making the identity matrix so I just removed the initalizing values that were out of bounds. Kent Modified Paths: -------------- trunk/blender/source/blender/blenkernel/intern/constraint.c Modified: trunk/blender/source/blender/blenkernel/intern/constraint.c =================================================================== --- trunk/blender/source/blender/blenkernel/intern/constraint.c 2008-05-05 16:56:44 UTC (rev 14691) +++ trunk/blender/source/blender/blenkernel/intern/constraint.c 2008-05-05 17:26:33 UTC (rev 14692) @@ -1104,9 +1104,9 @@ /* identity matrix - don't do anything if the two axes are the same */ else { m[0][0]= m[1][1]= m[2][2]= 1.0; - m[0][1]= m[0][2]= m[0][3]= 0.0; - m[1][0]= m[1][2]= m[1][3]= 0.0; - m[2][0]= m[2][1]= m[2][3]= 0.0; + m[0][1]= m[0][2]= 0.0; + m[1][0]= m[1][2]= 0.0; + m[2][0]= m[2][1]= 0.0; } } _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs