[Bf-blender-cvs] [43b20d5] temp-modifier-deltamush-experimental: minor cleanup

Campbell Barton noreply at git.blender.org
Tue Mar 31 00:50:30 CEST 2015


Commit: 43b20d5b6c086ada558dc76b4da71859ea83c56f
Author: Campbell Barton
Date:   Tue Mar 31 09:50:11 2015 +1100
Branches: temp-modifier-deltamush-experimental
https://developer.blender.org/rB43b20d5b6c086ada558dc76b4da71859ea83c56f

minor cleanup

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

M	source/blender/modifiers/intern/MOD_correctivesmooth.c

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

diff --git a/source/blender/modifiers/intern/MOD_correctivesmooth.c b/source/blender/modifiers/intern/MOD_correctivesmooth.c
index 9600050..d2255ab 100644
--- a/source/blender/modifiers/intern/MOD_correctivesmooth.c
+++ b/source/blender/modifiers/intern/MOD_correctivesmooth.c
@@ -267,7 +267,7 @@ static void smooth_iter__length_weight(
 {
 	const float eps = FLT_EPSILON * 10.0f;
 	const unsigned int numEdges = (unsigned int)dm->getNumEdges(dm);
-	/* WARNING: the way this smoothing method works,
+	/* note: the way this smoothing method works,
 	 * its approx half as strong as the simple smoothing method,
 	 * and 2.0 rarely spikes, so double the value for consistent behavior. */
 	const float lambda = csmd->lambda * 2.0f;
@@ -743,28 +743,28 @@ static void deformVertsEM(
 
 
 ModifierTypeInfo modifierType_CorrectiveSmooth = {
-		/* name */              "CorrectiveSmooth",
-		/* structName */        "CorrectiveSmoothModifierData",
-		/* structSize */        sizeof(CorrectiveSmoothModifierData),
-		/* type */              eModifierTypeType_OnlyDeform,
-		/* flags */             eModifierTypeFlag_AcceptsMesh |
-		                        eModifierTypeFlag_SupportsEditmode,
-
-		/* copyData */          copyData,
-		/* deformVerts */       deformVerts,
-		/* deformMatrices */    NULL,
-		/* deformVertsEM */     deformVertsEM,
-		/* deformMatricesEM */  NULL,
-		/* applyModifier */     NULL,
-		/* applyModifierEM */   NULL,
-		/* initData */          initData,
-		/* requiredDataMask */  requiredDataMask,
-		/* freeData */          freeData,
-		/* isDisabled */        NULL,
-		/* updateDepgraph */    NULL,
-		/* dependsOnTime */     NULL,
-		/* dependsOnNormals */  NULL,
-		/* foreachObjectLink */ NULL,
-		/* foreachIDLink */     NULL,
-		/* foreachTexLink */    NULL,
+	/* name */              "CorrectiveSmooth",
+	/* structName */        "CorrectiveSmoothModifierData",
+	/* structSize */        sizeof(CorrectiveSmoothModifierData),
+	/* type */              eModifierTypeType_OnlyDeform,
+	/* flags */             eModifierTypeFlag_AcceptsMesh |
+	                        eModifierTypeFlag_SupportsEditmode,
+
+	/* copyData */          copyData,
+	/* deformVerts */       deformVerts,
+	/* deformMatrices */    NULL,
+	/* deformVertsEM */     deformVertsEM,
+	/* deformMatricesEM */  NULL,
+	/* applyModifier */     NULL,
+	/* applyModifierEM */   NULL,
+	/* initData */          initData,
+	/* requiredDataMask */  requiredDataMask,
+	/* freeData */          freeData,
+	/* isDisabled */        NULL,
+	/* updateDepgraph */    NULL,
+	/* dependsOnTime */     NULL,
+	/* dependsOnNormals */  NULL,
+	/* foreachObjectLink */ NULL,
+	/* foreachIDLink */     NULL,
+	/* foreachTexLink */    NULL,
 };




More information about the Bf-blender-cvs mailing list