From 95670e03a01d30cda5a0f685974f28790be6809d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 3 Mar 2012 20:19:11 +0000 Subject: style cleanup / comment formatting for bli/bke/bmesh --- source/blender/blenkernel/intern/customdata.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'source/blender/blenkernel/intern/customdata.c') diff --git a/source/blender/blenkernel/intern/customdata.c b/source/blender/blenkernel/intern/customdata.c index cd15c56cea1..2a3d7182770 100644 --- a/source/blender/blenkernel/intern/customdata.c +++ b/source/blender/blenkernel/intern/customdata.c @@ -102,10 +102,10 @@ typedef struct LayerTypeInfo { void (*swap)(void *data, const int *corner_indices); /* a function to set a layer's data to default values. if NULL, the - default is assumed to be all zeros */ + * default is assumed to be all zeros */ void (*set_default)(void *data, int count); - /* functions necessary for geometry collapse*/ + /* functions necessary for geometry collapse*/ int (*equal)(void *data1, void *data2); void (*multiply)(void *data, float fac); void (*initminmax)(void *min, void *max); @@ -450,7 +450,7 @@ static void layerSwap_mdisps(void *data, const int *ci) if(corners!=nverts) { /* happens when face changed vertex count in edit mode - if it happened, just forgot displacement */ + * if it happened, just forgot displacement */ MEM_freeN(s->disps); s->totdisp= (s->totdisp/corners)*nverts; @@ -1481,7 +1481,7 @@ static CustomDataLayer *customData_add_layer__internal(CustomData *data, void *newlayerdata = NULL; /* Passing a layerdata to copy from with an alloctype that won't copy is - most likely a bug */ + * most likely a bug */ BLI_assert(!layerdata || (alloctype == CD_ASSIGN) || (alloctype == CD_DUPLICATE) || @@ -2307,8 +2307,8 @@ int CustomData_layer_has_math(struct CustomData *data, int layern) return 0; } -/*copies the "value" (e.g. mloopuv uv or mloopcol colors) from one block to - another, while not overwriting anything else (e.g. flags)*/ +/* copies the "value" (e.g. mloopuv uv or mloopcol colors) from one block to + * another, while not overwriting anything else (e.g. flags)*/ void CustomData_data_copy_value(int type, void *source, void *dest) { const LayerTypeInfo *typeInfo = layerType_getInfo(type); @@ -2626,8 +2626,8 @@ void CustomData_validate_layer_name(const CustomData *data, int type, char *name if(index < 0) { /* either no layer was specified, or the layer we want has been - * deleted, so assign the active layer to name - */ + * deleted, so assign the active layer to name + */ index = CustomData_get_active_layer_index(data, type); strcpy(outname, data->layers[index].name); } -- cgit v1.2.3