[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24064] trunk/blender/source/blender/ python/generic/matrix.c: Python API
Ken Hughes
khughes at pacific.edu
Fri Oct 23 02:44:20 CEST 2009
Revision: 24064
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24064
Author: khughes
Date: 2009-10-23 02:44:18 +0200 (Fri, 23 Oct 2009)
Log Message:
-----------
Python API
----------
Incorrect row and column values were passed to newMatrixObject() by
Matrix_new() when the argument to Matrix() was a matrix.
Modified Paths:
--------------
trunk/blender/source/blender/python/generic/matrix.c
Modified: trunk/blender/source/blender/python/generic/matrix.c
===================================================================
--- trunk/blender/source/blender/python/generic/matrix.c 2009-10-22 23:23:09 UTC (rev 24063)
+++ trunk/blender/source/blender/python/generic/matrix.c 2009-10-23 00:44:18 UTC (rev 24064)
@@ -165,6 +165,8 @@
return NULL;
memcpy(matrix, mat->contigPtr, sizeof(float) * mat->rowSize * mat->colSize);
+ argSize = mat->rowSize;
+ seqSize = mat->colSize;
}
}else{ //2-4 arguments (all seqs? all same size?)
for(i =0; i < argSize; i++){
More information about the Bf-blender-cvs
mailing list