minor edits
authorCampbell Barton <ideasman42@gmail.com>
Wed, 28 Dec 2011 13:24:49 +0000 (13:24 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 28 Dec 2011 13:24:49 +0000 (13:24 +0000)
source/blender/blenkernel/intern/customdata.c

index 3b7addddc41908dce06fbbae5e23a7bca2a73e5e..3fc6445d102c12f51bfa03c14504c02c2e2547cd 100644 (file)
@@ -1027,9 +1027,6 @@ static void layerInterp_shapekey(void **sources, float *weights,
        }
 }
 
-/* note, these numbered comments below are copied from trunk,
- * while _most_ match, some at the end need adding and are out of sync */
-
 static const LayerTypeInfo LAYERTYPEINFO[CD_NUMTYPES] = {
        /* 0: CD_MVERT */
        {sizeof(MVert), "MVert", 1, NULL, NULL, NULL, NULL, NULL, NULL},
@@ -1078,10 +1075,11 @@ static const LayerTypeInfo LAYERTYPEINFO[CD_NUMTYPES] = {
        {sizeof(MLoopCol), "MLoopCol", 1, "Col", NULL, NULL, layerInterp_mloopcol, NULL, 
         layerDefault_mloopcol, layerEqual_mloopcol, layerMultiply_mloopcol, layerInitMinMax_mloopcol, 
         layerAdd_mloopcol, layerDoMinMax_mloopcol, layerCopyValue_mloopcol},
+       /* 18: CD_TANGENT */
        {sizeof(float)*4*4, "", 0, NULL, NULL, NULL, NULL, NULL, NULL},
        /* 19: CD_MDISPS */
        {sizeof(MDisps), "MDisps", 1, NULL, layerCopy_mdisps,
-        layerFree_mdisps, layerInterp_mdisps, layerSwap_mdisps, NULL, 
+        layerFree_mdisps, layerInterp_mdisps, layerSwap_mdisps, NULL,
         NULL, NULL, NULL, NULL, NULL, NULL, 
         layerRead_mdisps, layerWrite_mdisps, layerFilesize_mdisps, layerValidate_mdisps},
        /* 20: CD_WEIGHT_MCOL */