[Bf-blender-cvs] [0721bc0] surface-deform-modifier: Silly const mistake (missed in refactor...)

Luca Rood noreply at git.blender.org
Tue Jan 3 23:03:22 CET 2017


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;




More information about the Bf-blender-cvs mailing list