Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-12-17 15:13:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-12-17 16:04:36 +0400
commitf5076d54cb3a95ab583cddb7de07ed746d2e2be6 (patch)
tree421505d1a20dcb53fd8bfeb97e67e9a97a30566a /source/blender/editors/mesh/mesh_data.c
parentdb795b66fa865ad99bc52fb3c9b053b9bb332f9b (diff)
'Transform' Python Function for armature, curve and lattice.
patch by Paolo Acampora with some edits.
Diffstat (limited to 'source/blender/editors/mesh/mesh_data.c')
-rw-r--r--source/blender/editors/mesh/mesh_data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/mesh_data.c b/source/blender/editors/mesh/mesh_data.c
index f35a46b50d3..6decec75de4 100644
--- a/source/blender/editors/mesh/mesh_data.c
+++ b/source/blender/editors/mesh/mesh_data.c
@@ -880,13 +880,13 @@ static void mesh_add_verts(Mesh *mesh, int len)
mesh->totvert = totvert;
}
-void ED_mesh_transform(Mesh *me, float *mat)
+void ED_mesh_transform(Mesh *me, float mat[4][4])
{
int i;
MVert *mvert = me->mvert;
for (i = 0; i < me->totvert; i++, mvert++)
- mul_m4_v3((float (*)[4])mat, mvert->co);
+ mul_m4_v3(mat, mvert->co);
/* don't update normals, caller can do this explicitly */
}