diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-10 06:44:46 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-10 06:45:17 +0400 |
commit | 8dc80e9d736a9262947de8fb80df40dc010e37b4 (patch) | |
tree | e95ba44fcbe16fe75b2c858d080979de4bad8341 /source/blender/makesrna | |
parent | 07d09267964b70893d81e2d2fd6958ad6075e16c (diff) |
Style Cleanup
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_particle.c | 4 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_sculpt_paint.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c index 92c567e9a67..01e7b673838 100644 --- a/source/blender/makesrna/intern/rna_particle.c +++ b/source/blender/makesrna/intern/rna_particle.c @@ -402,8 +402,8 @@ static EnumPropertyItem *rna_Particule_Material_itemf(bContext *C, PointerRNA *U int totitem = 0; int i; - if (ob->totcol > 0){ - for (i = 1; i<=ob->totcol; i++) { + if (ob->totcol > 0) { + for (i = 1; i <= ob->totcol; i++) { ma = give_current_material(ob, i); tmp.value = i; tmp.icon = ICON_MATERIAL_DATA; diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c index d72fbcc48f3..6280e0833e5 100644 --- a/source/blender/makesrna/intern/rna_sculpt_paint.c +++ b/source/blender/makesrna/intern/rna_sculpt_paint.c @@ -352,7 +352,7 @@ static void rna_def_sculpt(BlenderRNA *brna) "Subdivide Edges", "Subdivide long edges to add mesh detail where needed"}, {SCULPT_DYNTOPO_COLLAPSE, "COLLAPSE", 0, "Collapse Edges", "Collapse short edges to remove mesh detail where possible"}, - {SCULPT_DYNTOPO_SUBDIVIDE|SCULPT_DYNTOPO_COLLAPSE, "SUBDIVIDE_COLLAPSE", 0, + {SCULPT_DYNTOPO_SUBDIVIDE | SCULPT_DYNTOPO_COLLAPSE, "SUBDIVIDE_COLLAPSE", 0, "Subdivide Collapse", "Both subdivide long edges and collapse short edges to refine mesh detail"}, {0, NULL, 0, NULL, NULL} }; |