Commit: 0721bc0ac46c90510903dbd906583a8b7f094392
Author: Luca Rood
Date: Tue Jan 3 20:01:33 2017 -0200
Branches: surface-deform-modifier
https://developer.blender.org/rB0721bc0ac46c90510903dbd906583a8b7f094392
Silly const mistake (missed in refactor...)
===================================================================
M source/blender/modifiers/intern/MOD_surfacedeform.c
===================================================================
diff --git a/source/blender/modifiers/intern/MOD_surfacedeform.c
b/source/blender/modifiers/intern/MOD_surfacedeform.c
index ea5e28f..82450da 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;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs