[Bf-blender-cvs] [e843f42e66] surface-deform-modifier: Review: Cleanup

Luca Rood noreply at git.blender.org
Wed Jan 25 07:08:18 CET 2017


Commit: e843f42e6615978af8450a55d582c3ae4db9f4d6
Author: Luca Rood
Date:   Wed Jan 25 03:27:07 2017 -0200
Branches: surface-deform-modifier
https://developer.blender.org/rBe843f42e6615978af8450a55d582c3ae4db9f4d6

Review: Cleanup

===================================================================

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 877b888a0e..bfbf093b7f 100644
--- a/source/blender/modifiers/intern/MOD_surfacedeform.c
+++ b/source/blender/modifiers/intern/MOD_surfacedeform.c
@@ -987,7 +987,7 @@ static bool surfacedeformBind(SurfaceDeformModifierData *smd, float (*vertexCos)
 		                     .bind_verts = smd->verts,
 		                     .vertexCos = vertexCos,
 		                     .falloff = smd->falloff,
-		                     .success = 1};
+		                     .success = MOD_SDEF_BIND_RESULT_SUCCESS};
 
 	BLI_task_parallel_range_ex(0, numverts, &data, NULL, 0, bindVert,
 	                           numverts > 10000, false);




More information about the Bf-blender-cvs mailing list