[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23228] trunk/blender/source/blender/ python/generic/Mathutils.c: fix warning
Campbell Barton
ideasman42 at gmail.com
Mon Sep 14 19:13:59 CEST 2009
Revision: 23228
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23228
Author: campbellbarton
Date: 2009-09-14 19:13:58 +0200 (Mon, 14 Sep 2009)
Log Message:
-----------
fix warning
Modified Paths:
--------------
trunk/blender/source/blender/python/generic/Mathutils.c
Modified: trunk/blender/source/blender/python/generic/Mathutils.c
===================================================================
--- trunk/blender/source/blender/python/generic/Mathutils.c 2009-09-14 16:52:06 UTC (rev 23227)
+++ trunk/blender/source/blender/python/generic/Mathutils.c 2009-09-14 17:13:58 UTC (rev 23228)
@@ -437,7 +437,7 @@
mat[8] = 1.0f;
} else if((strcmp(axis, "r") == 0) || (strcmp(axis, "R") == 0)) {
//arbitrary rotation
- AxisAngleToMat3(vec->vec, angle, (float *)mat);
+ AxisAngleToMat3(vec->vec, angle, (float (*)[3])mat);
} else {
PyErr_SetString(PyExc_AttributeError, "Mathutils.RotationMatrix(): unrecognizable axis of rotation type - expected x,y,z or r\n");
More information about the Bf-blender-cvs
mailing list