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>2012-04-09 11:06:06 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-09 11:06:06 +0400
commitd5953568c8b3ce1980c4cd872251042c72ac07e9 (patch)
treeeec6f202ec31fb274f918ca5e88006f5fa57e982 /source/blender/editors/mesh/editmesh_bvh.c
parentf5bb4635c6d023775689450c453cb76f917f2ee3 (diff)
use 'const float[3]' for derived mesh callback args.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_bvh.c')
-rw-r--r--source/blender/editors/mesh/editmesh_bvh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_bvh.c b/source/blender/editors/mesh/editmesh_bvh.c
index 37c4897cede..f9c673010f3 100644
--- a/source/blender/editors/mesh/editmesh_bvh.c
+++ b/source/blender/editors/mesh/editmesh_bvh.c
@@ -69,8 +69,8 @@ typedef struct BMBVHTree {
Scene *scene;
} BMBVHTree;
-static void cage_mapped_verts_callback(void *userData, int index, float *co,
- float *UNUSED(no_f), short *UNUSED(no_s))
+static void cage_mapped_verts_callback(void *userData, int index, const float co[3],
+ const float UNUSED(no_f[3]), const short UNUSED(no_s[3]))
{
void **data = userData;
BMEditMesh *em = data[0];