Cleanup: add trailing commas
Prevents clang-format merging into a single line.
This commit is contained in:
@@ -216,7 +216,7 @@ static PyC_FlagSet bpy_noise_types[] = {
|
||||
{TEX_VORONOI_F2F1, "VORONOI_F2F1"},
|
||||
{TEX_VORONOI_CRACKLE, "VORONOI_CRACKLE"},
|
||||
{TEX_CELLNOISE, "CELLNOISE"},
|
||||
{0, NULL}
|
||||
{0, NULL},
|
||||
};
|
||||
|
||||
/* Metric basis enum */
|
||||
@@ -230,7 +230,7 @@ static PyC_FlagSet bpy_noise_metrics[] = {
|
||||
{TEX_MINKOVSKY, "MINKOVSKY"},
|
||||
{TEX_MINKOVSKY_HALF, "MINKOVSKY_HALF"},
|
||||
{TEX_MINKOVSKY_FOUR, "MINKOVSKY_FOUR"},
|
||||
{0, NULL}
|
||||
{0, NULL},
|
||||
};
|
||||
|
||||
/* Fills an array of length size with random numbers in the range (-1, 1)*/
|
||||
@@ -1044,7 +1044,7 @@ static PyMethodDef M_Noise_methods[] = {
|
||||
{"voronoi", (PyCFunction) M_Noise_voronoi, METH_VARARGS | METH_KEYWORDS, M_Noise_voronoi_doc},
|
||||
{"cell", (PyCFunction) M_Noise_cell, METH_VARARGS, M_Noise_cell_doc},
|
||||
{"cell_vector", (PyCFunction) M_Noise_cell_vector, METH_VARARGS, M_Noise_cell_vector_doc},
|
||||
{NULL, NULL, 0, NULL}
|
||||
{NULL, NULL, 0, NULL},
|
||||
};
|
||||
|
||||
static struct PyModuleDef M_Noise_module_def = {
|
||||
|
||||
Reference in New Issue
Block a user