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:
authorLuca Rood <dev@lucarood.com>2017-01-04 01:01:33 +0300
committerLuca Rood <dev@lucarood.com>2017-01-04 01:02:49 +0300
commit0721bc0ac46c90510903dbd906583a8b7f094392 (patch)
tree51d66a9d1dfe020c549b80b6a4072f64bb9b3ed1
parent7ca0894a1719c9a04e8c1d8aec84c2e75ecfc6fa (diff)
Silly const mistake (missed in refactor...)
-rw-r--r--source/blender/modifiers/intern/MOD_surfacedeform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_surfacedeform.c b/source/blender/modifiers/intern/MOD_surfacedeform.c
index ea5e28fbc5d..82450da9476 100644
--- a/source/blender/modifiers/intern/MOD_surfacedeform.c
+++ b/source/blender/modifiers/intern/MOD_surfacedeform.c
@@ -328,7 +328,7 @@ BLI_INLINE void meanValueCoordinates(float w[], const float point[2], const floa
BLI_INLINE int nearestVert(SDefBindCalcData * const data, const float point_co[3])
{
- const MVert *mvert = data->mvert;
+ MVert * const mvert = data->mvert;
BVHTreeNearest nearest = {.dist_sq = FLT_MAX, .index = -1};
MPoly *poly;
MEdge *edge;