Cleanup: whitespace & break placement

This commit is contained in:
Campbell Barton
2015-07-18 19:02:39 +10:00
parent 2199a3e38b
commit ecb3e0fe73
15 changed files with 81 additions and 64 deletions

View File

@@ -223,10 +223,10 @@ static int FrsMaterial_mathutils_get_index(BaseMathObject *bmo, int subtype, int
BPy_FrsMaterial *self = (BPy_FrsMaterial *)bmo->cb_user;
switch (subtype) {
case MATHUTILS_SUBTYPE_LINE:
{
const float *color = self->m->line();
bmo->data[index] = color[index];
}
{
const float *color = self->m->line();
bmo->data[index] = color[index];
}
break;
case MATHUTILS_SUBTYPE_DIFFUSE:
{