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/space_view3d/view3d_snap.c
parentf5bb4635c6d023775689450c453cb76f917f2ee3 (diff)
use 'const float[3]' for derived mesh callback args.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_snap.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_snap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_snap.c b/source/blender/editors/space_view3d/view3d_snap.c
index ac94accf991..faf765fdaef 100644
--- a/source/blender/editors/space_view3d/view3d_snap.c
+++ b/source/blender/editors/space_view3d/view3d_snap.c
@@ -193,7 +193,8 @@ static void special_transvert_update(Object *obedit)
}
}
-static void set_mapped_co(void *vuserdata, int index, float *co, float *UNUSED(no), short *UNUSED(no_s))
+static void set_mapped_co(void *vuserdata, int index, const float co[3],
+ const float UNUSED(no[3]), const short UNUSED(no_s[3]))
{
void **userdata = vuserdata;
BMEditMesh *em = userdata[0];