Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-03-04 00:19:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-04 00:19:11 +0400
commit95670e03a01d30cda5a0f685974f28790be6809d (patch)
treee6d5756cbe51edb083cda2fceff087bda35c361a /source/blender/blenkernel/intern/customdata.c
parenta2c182e9233333fc3b8ff40d352113ec95e7e30c (diff)
style cleanup / comment formatting for bli/bke/bmesh
Diffstat (limited to 'source/blender/blenkernel/intern/customdata.c')
-rw-r--r--source/blender/blenkernel/intern/customdata.c16
1 files changed, 8 insertions, 8 deletions
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);
}